|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.daml.validator.ParseHelper
Field Summary | |
java.util.Vector |
actuallyLoaded
URIs that were actually loaded |
java.util.Vector |
errors
URIs that had errors during loading |
java.util.Vector |
importsPredicates
List of Predicates with the DAML imports semantics. |
java.util.Vector |
indications
Indications generated during parsing. |
java.util.Vector |
loaded
URIs that have been loaded |
int |
maxRecurseImports
The number of levels deep to recursively load imported files. |
int |
maxRecurseNS
The number of levels deep to recursively load -1 means infinite. |
boolean |
printwarnings
Flag for having the namespace parser to print namespace indications as they are encountered. |
boolean |
recurseImports
Flag denoting if imported ontologies should be loaded. |
boolean |
recurseNS
Flag denoting if referenced namespaces should be loaded. |
java.util.Stack |
recurseStack
Reference Stack for URIs in recurse mode |
boolean |
VERBOSE
|
Constructor Summary | |
ParseHelper(Preferences preferences,
java.util.Vector importsPredicates,
DAMLDatatypeValidator datatypeValidator)
|
Method Summary | |
java.util.Set |
getImportedURIs(com.hp.hpl.mesa.rdf.jena.model.Model m)
Returns a set of URIs imported by the model. |
static java.lang.String |
getNamespace(com.hp.hpl.mesa.rdf.jena.model.Resource r)
|
java.util.Set |
getReferencedURIs(com.hp.hpl.mesa.rdf.jena.model.Model m)
Returns a set of URIs referenced by the model. |
void |
parseURI(java.lang.String initialURI,
com.hp.hpl.mesa.rdf.jena.model.Model model,
boolean recurseNS)
Parses a URI into a model. |
void |
parseURIs(java.util.Collection URIs,
com.hp.hpl.mesa.rdf.jena.model.Model model,
boolean recurseNS)
Parses a list of URIs into a model. |
void |
testNamespace(java.lang.String uri,
java.util.Stack stack)
Tests URI for the existance of a filename extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean VERBOSE
public java.util.Vector loaded
public java.util.Vector errors
public java.util.Vector actuallyLoaded
public java.util.Stack recurseStack
public boolean recurseNS
public int maxRecurseNS
public boolean recurseImports
public int maxRecurseImports
public java.util.Vector indications
public boolean printwarnings
public java.util.Vector importsPredicates
Constructor Detail |
public ParseHelper(Preferences preferences, java.util.Vector importsPredicates, DAMLDatatypeValidator datatypeValidator)
Method Detail |
public void parseURI(java.lang.String initialURI, com.hp.hpl.mesa.rdf.jena.model.Model model, boolean recurseNS) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public void parseURIs(java.util.Collection URIs, com.hp.hpl.mesa.rdf.jena.model.Model model, boolean recurseNS) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public java.util.Set getReferencedURIs(com.hp.hpl.mesa.rdf.jena.model.Model m) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public java.util.Set getImportedURIs(com.hp.hpl.mesa.rdf.jena.model.Model m) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public static java.lang.String getNamespace(com.hp.hpl.mesa.rdf.jena.model.Resource r)
public void testNamespace(java.lang.String uri, java.util.Stack stack)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |