|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.semanticweb.owl.io.owl_rdf.OWLRDFParser
Parser for the normative XML/RDF Syntax. based on the vocabulary established 03.02.03 by the W3C WebOnt WG.
| Field Summary |
| Constructor Summary | |
OWLRDFParser()
|
|
| Method Summary | |
OWLConnection |
getConnection()
Get the connection used to create new ontologies. |
Map |
getOptions()
Get options for the object. |
boolean |
isAnonymousNodeURI(String uri)
|
static void |
main(String[] args)
|
protected void |
parseOntology(OWLOntology ontology,
Reader reader,
URI uri)
Locally accessible parse method used during import parsing |
protected void |
parseOntology(OWLOntology ontology,
URI uri)
Locally accessible parse method used during import parsing |
OWLOntology |
parseOntology(Reader reader,
URI physicalURI)
Parse from the given reader and return a new ontology object based on the connection that the parser knows about. |
OWLOntology |
parseOntology(URI uri)
Parse from the given URI and return a new ontology object based on the connection that the parser knows about. |
void |
setConnection(OWLConnection conn)
Set the connection used to create new ontologies. |
protected void |
setConsumer(OWLConsumer consumer)
|
void |
setOptions(Map options)
Set options for the object. |
void |
setOWLRDFErrorHandler(OWLRDFErrorHandler handler)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OWLRDFParser()
throws OWLException
| Method Detail |
public void setConnection(OWLConnection conn)
org.semanticweb.owl.util.OWLConnection. If this is
unset and no connection is supplied, an error will be
raised.
setConnection in interface Parserpublic OWLConnection getConnection()
Parser
getConnection in interface Parserpublic void setOWLRDFErrorHandler(OWLRDFErrorHandler handler)
protected void setConsumer(OWLConsumer consumer)
public boolean isAnonymousNodeURI(String uri)
public OWLOntology parseOntology(Reader reader,
URI physicalURI)
throws ParserException
Parser
parseOntology in interface ParserParserException
public OWLOntology parseOntology(URI uri)
throws ParserException
Parser
parseOntology in interface ParserParserException
protected void parseOntology(OWLOntology ontology,
Reader reader,
URI uri)
throws ParserException
ParserException
protected void parseOntology(OWLOntology ontology,
URI uri)
throws ParserException
ParserExceptionpublic void setOptions(Map options)
Options
setOptions in interface Optionsoptions - a Map value. Should contain a map from Strings to Objects.Options.setOptions(Map)public Map getOptions()
Options
getOptions in interface OptionsMap value. Contains a map from Strings to Objects.Options.getOptions()public static void main(String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||