public class OwlParser extends java.lang.Object implements OwlParserTreeConstants, OwlParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt |
protected AST.JJTOwlParserState |
jjtree |
Token |
token |
OwlParserTokenManager |
token_source |
JJTABBREVIATEDIRI, JJTANNOTATION, JJTANNOTATIONPROPERTY, JJTCARDINALITY, JJTCLASSASSERTION, JJTCLAZZ, JJTDATAPROPERTY, JJTDATAPROPERTYDOMAIN, JJTDATAPROPERTYRANGE, JJTDATATYPE, JJTDATATYPEIRI, JJTDECLARATION, JJTDISCARDEDELEMENT, JJTEXPRESSIONCONDITION, JJTEXPRESSIONLOGICLANGUAGE, JJTEXPRESSIONREFURI, JJTEXPREXPRESSIONDATA, JJTEXPRKIFCONDITION, JJTFLOATELEMENT, JJTIDENTIFIER, JJTINTELEMENT, JJTIRI, JJTLIST, JJTLISTFIRST, JJTLISTREST, JJTLITERAL, JJTNAME, JJTNAMEDINDIVIDUAL, jjtNodeName, JJTOBJECTEXACTCARDINALITY, JJTOBJECTLISTLIST, JJTOBJECTMINCARDINALITY, JJTOBJECTPROPERTY, JJTOBJECTPROPERTYASSERTION, JJTOBJECTPROPERTYDOMAIN, JJTOBJECTSOMEVALUESFROM, JJTONTOLOGY, JJTONTOLOGYIRI, JJTOWLALLDIFFERENT, JJTOWLALLVALUESFROM, JJTOWLCARDINALITY, JJTOWLCLASS, JJTOWLDATARANGE, JJTOWLDATATYPEPROPERTY, JJTOWLDISJOINTWITH, JJTOWLDISTINCTMEMBERS, JJTOWLEQUIVALENTCLASS, JJTOWLEQUIVALENTPROPERTY, JJTOWLFUNCTIONALPROPERTY, JJTOWLHASVALUE, JJTOWLIMPORTS, JJTOWLINTERSECTIONOF, JJTOWLINVERSEOF, JJTOWLMAXCARDINALITY, JJTOWLMINCARDINALITY, JJTOWLNAMEDINDIVIDUAL, JJTOWLOBJECTPROPERTY, JJTOWLONCLASS, JJTOWLONDATATYPE, JJTOWLONEOF, JJTOWLONPROPERTY, JJTOWLONTOLOGY, JJTOWLQUALIFIEDCARDINALITY, JJTOWLRESTRICTION, JJTOWLSOMEVALUESFROM, JJTOWLTRANSITIVEPROPERTY, JJTOWLUNIONOF, JJTOWLVERSIONINFO, JJTOWLWITHRESTRICTIONS, JJTP1ANYORDER, JJTP1COMPONENTS, JJTP1COMPOSEDOF, JJTP1CONTROLCONSTRUCTBAG, JJTP1CONTROLCONSTRUCTLIST, JJTP1ELSE, JJTP1HASINPUT, JJTP1HASOUTPUT, JJTP1IFCONDITION, JJTP1IFTHENELSE, JJTP1INPUT, JJTP1OUTPUT, JJTP1PARAMETERTYPE, JJTP1PERFORM, JJTP1PROCESS, JJTP1REPEATUNTIL, JJTP1SEQUENCE, JJTP1THEN, JJTP1UNTILCONDITION, JJTP1UNTILPROCESS, JJTPREFIX, JJTPROCESSPARTICIPANT, JJTPROCESSPERFORM, JJTRDFABOUT, JJTRDFDATATYPE, JJTRDFDECLARATION, JJTRDFDESCRIPTION, JJTRDFFIRST, JJTRDFID, JJTRDFPARSETYPE, JJTRDFPROPERTY, JJTRDFRESOURCE, JJTRDFREST, JJTRDFSCOMMENT, JJTRDFSDATATYPE, JJTRDFSDOMAIN, JJTRDFSLABEL, JJTRDFSRANGE, JJTRDFSSEEALSO, JJTRDFSSUBCLASSOF, JJTRDFSSUBPROPERTYOF, JJTRDFTYPE, JJTSPECIFICATION, JJTSTART, JJTSTRINGELEMENT, JJTSUBCLASSOF, JJTVALUE, JJTVERSION, JJTVOID, JJTXMLBASE, JJTXMLHEADER, JJTXMLNS, JJTXMLNSXML, JJTXMLNSXX, JJTXSDMININCLUSIVEABBREVIATEDIRI, ANNOTATION, ANNOTATIONPROPERTY, ASSIGN, BOUNDS, CARDINALITY, CHARACTER_LITERAL, CLASS, CLASSASSERTION, COLON, DATAPROPERTY, DATAPROPERTYDOMAIN, DATAPROPERTYRANGE, DATATYPE, DATATYPEIRI, DECIMAL_LITERAL, DECLARATION, DEFAULT, DIGIT, EOF, EXPONENT, EXPR_EXPRESSIONDATA, EXPR_KIFCONDITION, EXPRESSION_CONDITION, EXPRESSION_LOGICLANGUAGE, EXPRESSION_REFURI, FLOAT_LITERAL, HEX_LITERAL, IDENTIFIER, INTEGER_LITERAL, IRI, LBRACE, LETTER, LIST_FIRST, LIST_REST, LITERAL, NAME, NAMEDINDIVIDUAL, OBJECTEXACTCARDINALITY, OBJECTLIST_LIST, OBJECTMINCARDINALITY, OBJECTPROPERTY, OBJECTPROPERTYASSERTION, OBJECTPROPERTYDOMAIN, OBJECTSOMEVALUESFROM, OCTAL_LITERAL, ONTOLOGY, ONTOLOGYIRI, OWL_ALLDIFFERENT, OWL_ALLVALUESFROM, OWL_CARDINALITY, OWL_CLASS, OWL_DATARANGE, OWL_DATATYPEPROPERTY, OWL_DISJOINTWITH, OWL_DISTINCTMEMBERS, OWL_EQUIVALENTCLASS, OWL_EQUIVALENTPROPERTY, OWL_FUNCTIONALPROPERTY, OWL_HASVALUE, OWL_IMPORTS, OWL_INTERSECTIONOF, OWL_INVERSEOF, OWL_MAXCARDINALITY, OWL_MINCARDINALITY, OWL_NAMEDINDIVIDUAL, OWL_OBJECTPROPERTY, OWL_ONCLASS, OWL_ONDATATYPE, OWL_ONEOF, OWL_ONPROPERTY, OWL_ONTOLOGY, OWL_QUALIFIEDCARDINALITY, OWL_RESTRICTION, OWL_SOMEVALUESFROM, OWL_TRANSITIVEPROPERTY, OWL_UNIONOF, OWL_VERSIONINFO, OWL_WITHRESTRICTIONS, P1_ANYORDER, P1_COMPONENTS, P1_COMPOSEDOF, P1_CONTROLCONSTRUCTBAG, P1_CONTROLCONSTRUCTLIST, P1_ELSE, P1_HASINPUT, P1_HASOUTPUT, P1_IFCONDITION, P1_IFTHENELSE, P1_INPUT, P1_OUTPUT, P1_PARAMETERTYPE, P1_PERFORM, P1_PROCESS, P1_REPEATUNTIL, P1_SEQUENCE, P1_THEN, P1_UNTILCONDITION, P1_UNTILPROCESS, PREFIX, PROCESS_PARTICIPANT, PROCESS_PERFORM, QUOTE, RBRACE, RDF_ABOUT, RDF_DATATYPE, RDF_DESCRIPTION, RDF_FIRST, RDF_ID, RDF_PARSETYPE, RDF_PROPERTY, RDF_RDF, RDF_RESOURCE, RDF_REST, RDF_TYPE, RDFS_COMMENT, RDFS_DATATYPE, RDFS_DOMAIN, RDFS_LABEL, RDFS_RANGE, RDFS_SEEALSO, RDFS_SUBCLASSOF, RDFS_SUBPROPERTYOF, SLASH, START_ENDTAG, START_TAG, STRING_LITERAL, SUBCLASSOF, tokenImage, VERSION, XML, XML_BASE, XMLNS, XMLNS_XML, XMLNS_XX, XSD_MININCLUSIVE| Constructor and Description |
|---|
OwlParser(java.io.InputStream stream) |
OwlParser(java.io.InputStream stream,
java.lang.String encoding) |
OwlParser(OwlParserTokenManager tm) |
OwlParser(java.io.Reader stream) |
protected AST.JJTOwlParserState jjtree
public OwlParserTokenManager token_source
public Token token
public Token jj_nt
public OwlParser(java.io.InputStream stream)
public OwlParser(java.io.InputStream stream,
java.lang.String encoding)
public OwlParser(java.io.Reader stream)
public OwlParser(OwlParserTokenManager tm)
public final Start Start() throws ParseException
ParseExceptionpublic final void Specification()
throws ParseException
ParseExceptionpublic final void XmlHeader()
throws ParseException
ParseExceptionpublic final void OntologyDeclaration()
throws ParseException
ParseExceptionpublic final void RdfDeclaration()
throws ParseException
ParseExceptionpublic final void ElementList()
throws ParseException
ParseExceptionpublic final void Element()
throws ParseException
ParseExceptionpublic final void DiscardedElement()
throws ParseException
ParseExceptionpublic final void Identifier()
throws ParseException
ParseExceptionpublic final void SimpleElement()
throws ParseException
ParseExceptionpublic final void IntElement()
throws ParseException
ParseExceptionpublic final void FloatElement()
throws ParseException
ParseExceptionpublic final void StringElement()
throws ParseException
ParseExceptionpublic final void JElement()
throws ParseException
ParseExceptionpublic final void ListFirst()
throws ParseException
ParseExceptionpublic final void ListRest()
throws ParseException
ParseExceptionpublic final void ExprKIFCondition()
throws ParseException
ParseExceptionpublic final void ExprExpressionData()
throws ParseException
ParseExceptionpublic final void ExpressionCondition()
throws ParseException
ParseExceptionpublic final void ExpressionLogicLanguage()
throws ParseException
ParseExceptionpublic final void ExpressionRefURI()
throws ParseException
ParseExceptionpublic final void ObjectListList()
throws ParseException
ParseExceptionpublic final void OntologyElement()
throws ParseException
ParseExceptionpublic final void Annotation()
throws ParseException
ParseExceptionpublic final void AnnotationProperty()
throws ParseException
ParseExceptionpublic final void Clazz()
throws ParseException
ParseExceptionpublic final void ClassAssertion()
throws ParseException
ParseExceptionpublic final void DataProperty()
throws ParseException
ParseExceptionpublic final void DataPropertyDomain()
throws ParseException
ParseExceptionpublic final void DataPropertyRange()
throws ParseException
ParseExceptionpublic final void Datatype()
throws ParseException
ParseExceptionpublic final void Declaration()
throws ParseException
ParseExceptionpublic final void Literal()
throws ParseException
ParseExceptionpublic final void NamedIndividual()
throws ParseException
ParseExceptionpublic final void ObjectExactCardinality()
throws ParseException
ParseExceptionpublic final void ObjectMinCardinality()
throws ParseException
ParseExceptionpublic final void ObjectSomeValuesFrom()
throws ParseException
ParseExceptionpublic final void ObjectProperty()
throws ParseException
ParseExceptionpublic final void ObjectPropertyAssertion()
throws ParseException
ParseExceptionpublic final void ObjectPropertyDomain()
throws ParseException
ParseExceptionpublic final void Ontology()
throws ParseException
ParseExceptionpublic final void Prefix()
throws ParseException
ParseExceptionpublic final void SubClassOf()
throws ParseException
ParseExceptionpublic final void OwlElement()
throws ParseException
ParseExceptionpublic final void OwlOntology()
throws ParseException
ParseExceptionpublic final void OwlAllDifferent()
throws ParseException
ParseExceptionpublic final void OwlAllValuesFrom()
throws ParseException
ParseExceptionpublic final void OwlCardinality()
throws ParseException
ParseExceptionpublic final void OwlClass()
throws ParseException
ParseExceptionpublic final void OwlDataRange()
throws ParseException
ParseExceptionpublic final void OwlDatatypeProperty()
throws ParseException
ParseExceptionpublic final void OwlDisjointWith()
throws ParseException
ParseExceptionpublic final void OwlDistinctMembers()
throws ParseException
ParseExceptionpublic final void OwlEquivalentClass()
throws ParseException
ParseExceptionpublic final void OwlEquivalentProperty()
throws ParseException
ParseExceptionpublic final void OwlFunctionalProperty()
throws ParseException
ParseExceptionpublic final void OwlHasValue()
throws ParseException
ParseExceptionpublic final void OwlImports()
throws ParseException
ParseExceptionpublic final void OwlIntersectionOf()
throws ParseException
ParseExceptionpublic final void OwlInverseOf()
throws ParseException
ParseExceptionpublic final void OwlMaxCardinality()
throws ParseException
ParseExceptionpublic final void OwlMinCardinality()
throws ParseException
ParseExceptionpublic final void OwlNamedIndividual()
throws ParseException
ParseExceptionpublic final void OwlObjectProperty()
throws ParseException
ParseExceptionpublic final void OwlOneOf()
throws ParseException
ParseExceptionpublic final void OwlOnClass()
throws ParseException
ParseExceptionpublic final void OwlOnDatatype()
throws ParseException
ParseExceptionpublic final void OwlOnProperty()
throws ParseException
ParseExceptionpublic final void OwlQualifiedCardinality()
throws ParseException
ParseExceptionpublic final void OwlRestriction()
throws ParseException
ParseExceptionpublic final void OwlSomeValuesFrom()
throws ParseException
ParseExceptionpublic final void OwlTransitiveProperty()
throws ParseException
ParseExceptionpublic final void OwlUnionOf()
throws ParseException
ParseExceptionpublic final void OwlVersionInfo()
throws ParseException
ParseExceptionpublic final void OwlWithRestrictions()
throws ParseException
ParseExceptionpublic final void P1Element()
throws ParseException
ParseExceptionpublic final void P1AnyOrder()
throws ParseException
ParseExceptionpublic final void P1Components()
throws ParseException
ParseExceptionpublic final void P1ComposedOf()
throws ParseException
ParseExceptionpublic final void P1ControlConstructBag()
throws ParseException
ParseExceptionpublic final void P1ControlConstructList()
throws ParseException
ParseExceptionpublic final void P1Else()
throws ParseException
ParseExceptionpublic final void P1HasInput()
throws ParseException
ParseExceptionpublic final void P1HasOutput()
throws ParseException
ParseExceptionpublic final void P1IfCondition()
throws ParseException
ParseExceptionpublic final void P1IfThenElse()
throws ParseException
ParseExceptionpublic final void P1Input()
throws ParseException
ParseExceptionpublic final void P1Output()
throws ParseException
ParseExceptionpublic final void P1ParameterType()
throws ParseException
ParseExceptionpublic final void P1Perform()
throws ParseException
ParseExceptionpublic final void P1Process()
throws ParseException
ParseExceptionpublic final void P1RepeatUntil()
throws ParseException
ParseExceptionpublic final void P1Sequence()
throws ParseException
ParseExceptionpublic final void P1Then()
throws ParseException
ParseExceptionpublic final void P1UntilCondition()
throws ParseException
ParseExceptionpublic final void P1UntilProcess()
throws ParseException
ParseExceptionpublic final void ProcessElement()
throws ParseException
ParseExceptionpublic final void ProcessParticipant()
throws ParseException
ParseExceptionpublic final void ProcessPerform()
throws ParseException
ParseExceptionpublic final void RdfElement()
throws ParseException
ParseExceptionpublic final void RdfType()
throws ParseException
ParseExceptionpublic final void RdfDescription()
throws ParseException
ParseExceptionpublic final void RdfFirst()
throws ParseException
ParseExceptionpublic final void RdfProperty()
throws ParseException
ParseExceptionpublic final void RdfRest()
throws ParseException
ParseExceptionpublic final void RdfsComment()
throws ParseException
ParseExceptionpublic final void RdfsDatatype()
throws ParseException
ParseExceptionpublic final void RdfsDomain()
throws ParseException
ParseExceptionpublic final void RdfsLabel()
throws ParseException
ParseExceptionpublic final void RdfsRange()
throws ParseException
ParseExceptionpublic final void RdfsSeeAlso()
throws ParseException
ParseExceptionpublic final void RdfsSubClassOf()
throws ParseException
ParseExceptionpublic final void RdfsSubPropertyOf()
throws ParseException
ParseExceptionpublic final void XsdElement()
throws ParseException
ParseExceptionpublic final void XsdMinInclusive()
throws ParseException
ParseExceptionpublic final void AttributeList()
throws ParseException
ParseExceptionpublic final void Attribute()
throws ParseException
ParseExceptionpublic final void Version()
throws ParseException
ParseExceptionpublic final void OntologyAttribute()
throws ParseException
ParseExceptionpublic final void AbbreviatedIRI()
throws ParseException
ParseExceptionpublic final void Cardinality()
throws ParseException
ParseExceptionpublic final void DatatypeIRI()
throws ParseException
ParseExceptionpublic final void IRI()
throws ParseException
ParseExceptionpublic final void Name()
throws ParseException
ParseExceptionpublic final void OntologyIRI()
throws ParseException
ParseExceptionpublic final void RdfAttribute()
throws ParseException
ParseExceptionpublic final void RdfAbout()
throws ParseException
ParseExceptionpublic final void RdfDatatype()
throws ParseException
ParseExceptionpublic final void RdfId()
throws ParseException
ParseExceptionpublic final void RdfParseType()
throws ParseException
ParseExceptionpublic final void RdfResource()
throws ParseException
ParseExceptionpublic final void XmlAttribute()
throws ParseException
ParseExceptionpublic final void XmlBase()
throws ParseException
ParseExceptionpublic final void XmlnsAttribute()
throws ParseException
ParseExceptionpublic final void Xmlns()
throws ParseException
ParseExceptionpublic final void XmlnsXml()
throws ParseException
ParseExceptionpublic final void XmlnsXX()
throws ParseException
ParseExceptionpublic final void Value()
throws ParseException
ParseExceptionpublic void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(OwlParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()