myRDF.model
Class StatementPool
java.lang.Object
myRDF.model.StatementPool
- Direct Known Subclasses:
- DBStatementPool
- public class StatementPool
- extends java.lang.Object
Field Summary |
protected java.util.HashMap |
resources
|
Method Summary |
void |
addAttributeAbout(java.lang.String subject,
Attribute attribute)
|
void |
addParsedNamespaceURI(java.lang.String namespaceURI)
|
void |
addParsedNamespaceURI(java.lang.String namespaceURI,
java.lang.String title)
|
void |
addStatement(Statement statement)
|
java.lang.String |
createInstanceOf(java.lang.String namespace,
java.lang.String classResource)
|
java.util.ArrayList |
getAllDomains(java.lang.String property)
|
java.util.ArrayList |
getAllInstances(java.lang.String subject)
|
java.util.ArrayList |
getAllPropertiesForClass(java.lang.String classResource)
|
java.util.ArrayList |
getAllRanges(java.lang.String property)
|
java.util.ArrayList |
getAllSubClasses(java.util.ArrayList classResources)
|
java.util.ArrayList |
getAllSubClasses(java.lang.String classResource)
|
java.util.ArrayList |
getAllSuperClasses(java.lang.String classResource)
|
java.util.ArrayList |
getAttributesAbout(java.lang.String subject)
|
java.util.ArrayList |
getAvailableProperties4Resource(java.lang.String subject)
|
Resource |
getResource(java.lang.String subject)
|
java.lang.String |
getResourceTitle(Resource resource)
|
java.lang.String |
getResourceTitle(java.lang.String resource)
|
java.util.ArrayList |
getSpecificAttributesAbout(java.lang.String subject,
java.lang.String predicate)
|
boolean |
hasAttribute(java.lang.String subject,
java.lang.String predicate,
java.lang.String object)
|
static boolean |
isClass(Resource resource)
|
boolean |
isClass(java.lang.String resource)
|
boolean |
isInstanceOf(Resource resource,
java.lang.String classResource)
|
boolean |
isInstanceOf(java.lang.String resource,
java.lang.String classResource)
|
boolean |
isParsedNamespaceURI(java.lang.String namespaceURI)
|
boolean |
isProperty(Resource resource)
|
boolean |
isProperty(java.lang.String resource)
|
boolean |
isSubClassOf(java.lang.String class1,
java.lang.String class2)
|
void |
removeAttributeAbout(java.lang.String subject,
Attribute attribute)
|
void |
removeParsedNamespaceURI(java.lang.String namespaceURI)
|
void |
removeStatement(Statement statement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
protected java.util.HashMap resources
StatementPool
public StatementPool()
isParsedNamespaceURI
public boolean isParsedNamespaceURI(java.lang.String namespaceURI)
addParsedNamespaceURI
public void addParsedNamespaceURI(java.lang.String namespaceURI)
addParsedNamespaceURI
public void addParsedNamespaceURI(java.lang.String namespaceURI,
java.lang.String title)
removeParsedNamespaceURI
public void removeParsedNamespaceURI(java.lang.String namespaceURI)
addStatement
public void addStatement(Statement statement)
addAttributeAbout
public void addAttributeAbout(java.lang.String subject,
Attribute attribute)
removeStatement
public void removeStatement(Statement statement)
removeAttributeAbout
public void removeAttributeAbout(java.lang.String subject,
Attribute attribute)
getAttributesAbout
public java.util.ArrayList getAttributesAbout(java.lang.String subject)
getSpecificAttributesAbout
public java.util.ArrayList getSpecificAttributesAbout(java.lang.String subject,
java.lang.String predicate)
getResource
public Resource getResource(java.lang.String subject)
hasAttribute
public boolean hasAttribute(java.lang.String subject,
java.lang.String predicate,
java.lang.String object)
isClass
public boolean isClass(java.lang.String resource)
isClass
public static boolean isClass(Resource resource)
isProperty
public boolean isProperty(java.lang.String resource)
isProperty
public boolean isProperty(Resource resource)
getResourceTitle
public java.lang.String getResourceTitle(java.lang.String resource)
getResourceTitle
public java.lang.String getResourceTitle(Resource resource)
isSubClassOf
public boolean isSubClassOf(java.lang.String class1,
java.lang.String class2)
isInstanceOf
public boolean isInstanceOf(java.lang.String resource,
java.lang.String classResource)
isInstanceOf
public boolean isInstanceOf(Resource resource,
java.lang.String classResource)
createInstanceOf
public java.lang.String createInstanceOf(java.lang.String namespace,
java.lang.String classResource)
getAllInstances
public java.util.ArrayList getAllInstances(java.lang.String subject)
getAllSubClasses
public java.util.ArrayList getAllSubClasses(java.util.ArrayList classResources)
getAllSubClasses
public java.util.ArrayList getAllSubClasses(java.lang.String classResource)
getAllSuperClasses
public java.util.ArrayList getAllSuperClasses(java.lang.String classResource)
getAllPropertiesForClass
public java.util.ArrayList getAllPropertiesForClass(java.lang.String classResource)
getAllDomains
public java.util.ArrayList getAllDomains(java.lang.String property)
getAllRanges
public java.util.ArrayList getAllRanges(java.lang.String property)
getAvailableProperties4Resource
public java.util.ArrayList getAvailableProperties4Resource(java.lang.String subject)
Copyright © 2001-2004 University of Hannover. All Rights Reserved.