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, JJTXSDMININCLUSIVE
ABBREVIATEDIRI, 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
ParseException
public final void Specification() throws ParseException
ParseException
public final void XmlHeader() throws ParseException
ParseException
public final void OntologyDeclaration() throws ParseException
ParseException
public final void RdfDeclaration() throws ParseException
ParseException
public final void ElementList() throws ParseException
ParseException
public final void Element() throws ParseException
ParseException
public final void DiscardedElement() throws ParseException
ParseException
public final void Identifier() throws ParseException
ParseException
public final void SimpleElement() throws ParseException
ParseException
public final void IntElement() throws ParseException
ParseException
public final void FloatElement() throws ParseException
ParseException
public final void StringElement() throws ParseException
ParseException
public final void JElement() throws ParseException
ParseException
public final void ListFirst() throws ParseException
ParseException
public final void ListRest() throws ParseException
ParseException
public final void ExprKIFCondition() throws ParseException
ParseException
public final void ExprExpressionData() throws ParseException
ParseException
public final void ExpressionCondition() throws ParseException
ParseException
public final void ExpressionLogicLanguage() throws ParseException
ParseException
public final void ExpressionRefURI() throws ParseException
ParseException
public final void ObjectListList() throws ParseException
ParseException
public final void OntologyElement() throws ParseException
ParseException
public final void Annotation() throws ParseException
ParseException
public final void AnnotationProperty() throws ParseException
ParseException
public final void Clazz() throws ParseException
ParseException
public final void ClassAssertion() throws ParseException
ParseException
public final void DataProperty() throws ParseException
ParseException
public final void DataPropertyDomain() throws ParseException
ParseException
public final void DataPropertyRange() throws ParseException
ParseException
public final void Datatype() throws ParseException
ParseException
public final void Declaration() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void NamedIndividual() throws ParseException
ParseException
public final void ObjectExactCardinality() throws ParseException
ParseException
public final void ObjectMinCardinality() throws ParseException
ParseException
public final void ObjectSomeValuesFrom() throws ParseException
ParseException
public final void ObjectProperty() throws ParseException
ParseException
public final void ObjectPropertyAssertion() throws ParseException
ParseException
public final void ObjectPropertyDomain() throws ParseException
ParseException
public final void Ontology() throws ParseException
ParseException
public final void Prefix() throws ParseException
ParseException
public final void SubClassOf() throws ParseException
ParseException
public final void OwlElement() throws ParseException
ParseException
public final void OwlOntology() throws ParseException
ParseException
public final void OwlAllDifferent() throws ParseException
ParseException
public final void OwlAllValuesFrom() throws ParseException
ParseException
public final void OwlCardinality() throws ParseException
ParseException
public final void OwlClass() throws ParseException
ParseException
public final void OwlDataRange() throws ParseException
ParseException
public final void OwlDatatypeProperty() throws ParseException
ParseException
public final void OwlDisjointWith() throws ParseException
ParseException
public final void OwlDistinctMembers() throws ParseException
ParseException
public final void OwlEquivalentClass() throws ParseException
ParseException
public final void OwlEquivalentProperty() throws ParseException
ParseException
public final void OwlFunctionalProperty() throws ParseException
ParseException
public final void OwlHasValue() throws ParseException
ParseException
public final void OwlImports() throws ParseException
ParseException
public final void OwlIntersectionOf() throws ParseException
ParseException
public final void OwlInverseOf() throws ParseException
ParseException
public final void OwlMaxCardinality() throws ParseException
ParseException
public final void OwlMinCardinality() throws ParseException
ParseException
public final void OwlNamedIndividual() throws ParseException
ParseException
public final void OwlObjectProperty() throws ParseException
ParseException
public final void OwlOneOf() throws ParseException
ParseException
public final void OwlOnClass() throws ParseException
ParseException
public final void OwlOnDatatype() throws ParseException
ParseException
public final void OwlOnProperty() throws ParseException
ParseException
public final void OwlQualifiedCardinality() throws ParseException
ParseException
public final void OwlRestriction() throws ParseException
ParseException
public final void OwlSomeValuesFrom() throws ParseException
ParseException
public final void OwlTransitiveProperty() throws ParseException
ParseException
public final void OwlUnionOf() throws ParseException
ParseException
public final void OwlVersionInfo() throws ParseException
ParseException
public final void OwlWithRestrictions() throws ParseException
ParseException
public final void P1Element() throws ParseException
ParseException
public final void P1AnyOrder() throws ParseException
ParseException
public final void P1Components() throws ParseException
ParseException
public final void P1ComposedOf() throws ParseException
ParseException
public final void P1ControlConstructBag() throws ParseException
ParseException
public final void P1ControlConstructList() throws ParseException
ParseException
public final void P1Else() throws ParseException
ParseException
public final void P1HasInput() throws ParseException
ParseException
public final void P1HasOutput() throws ParseException
ParseException
public final void P1IfCondition() throws ParseException
ParseException
public final void P1IfThenElse() throws ParseException
ParseException
public final void P1Input() throws ParseException
ParseException
public final void P1Output() throws ParseException
ParseException
public final void P1ParameterType() throws ParseException
ParseException
public final void P1Perform() throws ParseException
ParseException
public final void P1Process() throws ParseException
ParseException
public final void P1RepeatUntil() throws ParseException
ParseException
public final void P1Sequence() throws ParseException
ParseException
public final void P1Then() throws ParseException
ParseException
public final void P1UntilCondition() throws ParseException
ParseException
public final void P1UntilProcess() throws ParseException
ParseException
public final void ProcessElement() throws ParseException
ParseException
public final void ProcessParticipant() throws ParseException
ParseException
public final void ProcessPerform() throws ParseException
ParseException
public final void RdfElement() throws ParseException
ParseException
public final void RdfType() throws ParseException
ParseException
public final void RdfDescription() throws ParseException
ParseException
public final void RdfFirst() throws ParseException
ParseException
public final void RdfProperty() throws ParseException
ParseException
public final void RdfRest() throws ParseException
ParseException
public final void RdfsComment() throws ParseException
ParseException
public final void RdfsDatatype() throws ParseException
ParseException
public final void RdfsDomain() throws ParseException
ParseException
public final void RdfsLabel() throws ParseException
ParseException
public final void RdfsRange() throws ParseException
ParseException
public final void RdfsSeeAlso() throws ParseException
ParseException
public final void RdfsSubClassOf() throws ParseException
ParseException
public final void RdfsSubPropertyOf() throws ParseException
ParseException
public final void XsdElement() throws ParseException
ParseException
public final void XsdMinInclusive() throws ParseException
ParseException
public final void AttributeList() throws ParseException
ParseException
public final void Attribute() throws ParseException
ParseException
public final void Version() throws ParseException
ParseException
public final void OntologyAttribute() throws ParseException
ParseException
public final void AbbreviatedIRI() throws ParseException
ParseException
public final void Cardinality() throws ParseException
ParseException
public final void DatatypeIRI() throws ParseException
ParseException
public final void IRI() throws ParseException
ParseException
public final void Name() throws ParseException
ParseException
public final void OntologyIRI() throws ParseException
ParseException
public final void RdfAttribute() throws ParseException
ParseException
public final void RdfAbout() throws ParseException
ParseException
public final void RdfDatatype() throws ParseException
ParseException
public final void RdfId() throws ParseException
ParseException
public final void RdfParseType() throws ParseException
ParseException
public final void RdfResource() throws ParseException
ParseException
public final void XmlAttribute() throws ParseException
ParseException
public final void XmlBase() throws ParseException
ParseException
public final void XmlnsAttribute() throws ParseException
ParseException
public final void Xmlns() throws ParseException
ParseException
public final void XmlnsXml() throws ParseException
ParseException
public final void XmlnsXX() throws ParseException
ParseException
public final void Value() throws ParseException
ParseException
public 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()