|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addStatement(String pred,
String subj,
Object obj)
To enter a statement with a literal or a string representing the resource uri of the object. |
boolean |
contains(String URI)
Returns a boolean weather the resource having the specified URI is contained by the model. |
boolean |
contains(String pred,
String sub,
Literal obj)
Returning a boolean whether the statement contained by the model. |
boolean |
contains(String pred,
String sub,
String obj)
Returning a boolean whether the statement contained by the model. |
void |
dump()
Dump the content of the model and print it to the outputfile defined in RDF_PAV/Main. |
void |
fetch_all(ArrayList ex_ns,
parser par)
Will be called by the parser if he reached the EOF of the current file. |
void |
fetch()
Try to get all information of RDF_Properties and RDF_Classes we entered to the Model. |
void |
fetch(String URI)
In the case the URI belongs to a namespace, we try to get the information about URI and enter them to our basis_model. |
String |
genSysID()
Whenever a system-generated identifier is needed for statements or nodes. |
String |
getBaseURI()
Get the base URI for the model. |
Collection |
getClasses()
Returning a Collection of all classes contained by the model. |
Collection |
getContainers()
Returning a Collection of all RDF containers contained in the model. |
Collection |
getDataResources()
Returns a Collection of all resources that don't belong to the basic RDF types i.e., rdfs:Class, rdf:Property, rdf:Container and rdf:Statement. |
Collection |
getNodes()
Returning a Collection containing all the values of the existing HashMap. |
Collection |
getProperties()
Returning a Collection of all properties contained by the model. |
Collection |
getReifiedStatements()
Returning a Collection of all reified statements contained in the model. |
Resource |
getResource(String URI)
Returns the resource with the specified URI. |
ArrayList |
getStatements()
Returns the statements comprising the model. |
int[] |
getStatistics()
|
boolean |
getverbose()
|
void |
infer()
To infer the type of the given classname for all instances of its subclasses (recursive). |
int |
printStatements()
Prints the statements of this model. |
void |
printStatistics()
Prints the statistic containing the number of triples, classes, properties, containers, refeid statements and resources to the output stream declared in Output. |
void |
setBaseURI(String bURI)
Set the base URI for the model. |
void |
setverbose(boolean b)
Indicates whether messages about the actions performed by the VRP will be reported. |
Method Detail |
public void setverbose(boolean b)
public boolean getverbose()
public void addStatement(String pred, String subj, Object obj)
public Collection getNodes()
public boolean contains(String URI)
public Resource getResource(String URI)
public Collection getClasses()
public Collection getProperties()
public Collection getReifiedStatements()
public Collection getContainers()
public Collection getDataResources()
public boolean contains(String pred, String sub, String obj)
public boolean contains(String pred, String sub, Literal obj)
public void fetch_all(ArrayList ex_ns, parser par)
public void fetch()
public void fetch(String URI)
public void infer()
public ArrayList getStatements()
public int printStatements()
public int[] getStatistics()
public void printStatistics()
public String genSysID()
public void setBaseURI(String bURI)
public String getBaseURI()
public void dump()
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |