public class OWLFunctionalSyntaxParser extends Object implements OWLFunctionalSyntaxParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
OWLFunctionalSyntaxParserTokenManager |
token_source
Generated Token Manager.
|
ANNOTATION, ANNOTATIONASSERTION, ANNOTATIONPROPERTY, ANNOTATIONPROPERTYDOMAIN, ANNOTATIONPROPERTYRANGE, ANY_CHAR, ANY_ESCAPED_CHAR, ASYMMETRICOBJECTPROPERTY, BODY, BUILTINATOM, CLASS, CLASSASSERTION, CLASSATOM, CLOSEPAR, COMMENT, COMMENT_START, DATAALLVALUESFROM, DATACOMPLEMENTOF, DATAEXACTCARDINALITY, DATAHASVALUE, DATAINTERSECTIONOF, DATAMAXCARDINALITY, DATAMINCARDINALITY, DATAONEOF, DATAPROP, DATAPROPERTYASSERTION, DATAPROPERTYATOM, DATAPROPERTYDOMAIN, DATAPROPERTYRANGE, DATARANGEATOM, DATASOMEVALUESFROM, DATATYPE, DATATYPEDEFINITION, DATATYPEIDENTIFIER, DATATYPERESTRICTION, DATAUNIONOF, DECLARATION, DEFAULT, DESCRIPTIONGRAPH, DGRULE, DIFFERENTINDIVIDUALS, DIFFERENTINDIVIDUALSATOM, DISJOINTCLASSES, DISJOINTDATAPROPERTIES, DISJOINTOBJECTPROPERTIES, DISJOINTUNION, DLSAFERULE, DOCUMENTATION, EDGEASSERTION, EDGES, EOF, EQUALS, EQUIVALENTCLASSES, EQUIVALENTDATAPROPERTIES, EQUIVALENTOBJECTPROPERTIES, ERROR, FRACTIONDIGITS, FULLIRI, FUNCTIONALDATAPROPERTY, FUNCTIONALOBJECTPROPERTY, HASKEY, HEAD, IMPORT, IN_COMMENT, IN_STRING_LITERAL, INT, INVERSEFUNCTIONALOBJECTPROPERTY, INVERSEOBJECTPROPERTIES, IRREFLEXIVEOBJECTPROPERTY, LABEL, LANGIDENTIFIER, LENGTH, MAINCLASSES, MAXEXCLUSIVE, MAXINCLUSIVE, MAXLENGTH, MINEXCLUSIVE, MININCLUSIVE, MINLENGTH, NAMEDINDIVIDUAL, NEGATIVEDATAPROPERTYASSERTION, NEGATIVEOBJECTPROPERTYASSERTION, NODEASSERTION, NODEID, NODES, OBJECTALLVALUESFROM, OBJECTCOMPLEMENTOF, OBJECTEXACTCARDINALITY, OBJECTHASSELF, OBJECTHASVALUE, OBJECTINTERSECTIONOF, OBJECTINVERSEOF, OBJECTMAXCARDINALITY, OBJECTMINCARDINALITY, OBJECTONEOF, OBJECTPROP, OBJECTPROPERTYASSERTION, OBJECTPROPERTYATOM, OBJECTPROPERTYDOMAIN, OBJECTPROPERTYRANGE, OBJECTSOMEVALUESFROM, OBJECTUNIONOF, ONTOLOGY, OPENPAR, PATTERN, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, REFLEXIVEOBJECTPROPERTY, SAMEINDIVIDUAL, SAMEINDIVIDUALATOM, STRINGLITERAL, STRINGLITERAL_START, SUBANNOTATIONPROPERTYOF, SUBCLASSOF, SUBDATAPROPERTYOF, SUBOBJECTPROPERTYCHAIN, SUBOBJECTPROPERTYOF, SYMMETRICOBJECTPROPERTY, tokenImage, TOTALDIGITS, TRANSITIVEOBJECTPROPERTY, VARIABLE| Constructor and Description |
|---|
OWLFunctionalSyntaxParser(InputStream stream)
Constructor with InputStream.
|
OWLFunctionalSyntaxParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
OWLFunctionalSyntaxParser(OWLFunctionalSyntaxParserTokenManager tm)
Constructor with generated Token Manager.
|
OWLFunctionalSyntaxParser(Reader stream)
Constructor.
|
ParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionParseExceptionpublic OWLFunctionalSyntaxParserTokenManager token_source
public Token token
public Token jj_nt
public OWLFunctionalSyntaxParser(InputStream stream)
public OWLFunctionalSyntaxParser(InputStream stream, String encoding)
public OWLFunctionalSyntaxParser(Reader stream)
public OWLFunctionalSyntaxParser(OWLFunctionalSyntaxParserTokenManager tm)
@Deprecated public void setUp(OWLOntologyManager man, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration)
public void setUp(OWLOntology ontology, OWLOntologyLoaderConfiguration configuration)
public void setIgnoreAnnotationsAndDeclarations(boolean b)
protected void applyChange(OWLOntologyChange chg)
protected void addAxiom(OWLAxiom ax)
public void setPrefixes(PrefixManager nsm)
public final OWLFunctionalSyntaxOntologyFormat parse() throws ParseException, OWLParserException, IOException, UnloadableImportException
public final void Ontology()
throws ParseException,
OWLParserException,
UnloadableImportException
public final void Prefix()
throws ParseException
ParseExceptionpublic final IRI IRI() throws ParseException
ParseExceptionpublic final IRI FullIRI() throws ParseException
ParseExceptionpublic final IRI AbbreviatedIRI() throws ParseException
ParseExceptionpublic final String PrefixName() throws ParseException
ParseExceptionpublic final OWLClassExpression ClassExpression() throws ParseException
ParseExceptionpublic final OWLClass ClassIRI() throws ParseException
ParseExceptionpublic final Set<OWLClassExpression> ClassExpressionSet() throws ParseException
ParseExceptionpublic final Set<OWLIndividual> IndividualMinOneSet() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectUnionOf() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectIntersectionOf() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectComplementOf() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectOneOf() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectAllValuesFrom() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectSomeValuesFrom() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectHasValue() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectSelf() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectMinCardinality() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectExactCardinality() throws ParseException
ParseExceptionpublic final OWLClassExpression ObjectMaxCardinality() throws ParseException
ParseExceptionpublic final OWLClassExpression DataAllValuesFrom() throws ParseException
ParseExceptionpublic final OWLClassExpression DataSomeValuesFrom() throws ParseException
ParseExceptionpublic final OWLClassExpression DataHasValue() throws ParseException
ParseExceptionpublic final OWLClassExpression DataMinCardinality() throws ParseException
ParseExceptionpublic final OWLClassExpression DataExactCardinality() throws ParseException
ParseExceptionpublic final OWLClassExpression DataMaxCardinality() throws ParseException
ParseExceptionpublic final OWLClass Class() throws ParseException
ParseExceptionpublic final OWLObjectPropertyExpression ObjectPropertyExpression() throws ParseException
ParseExceptionpublic final OWLObjectPropertyExpression InverseObjectProperty() throws ParseException
ParseExceptionpublic final OWLObjectProperty ObjectProperty() throws ParseException
ParseExceptionpublic final OWLDataPropertyExpression DataPropertyExpression() throws ParseException
ParseExceptionpublic final OWLDataProperty DataPropertyIRI() throws ParseException
ParseExceptionpublic final OWLDataProperty DataProperty() throws ParseException
ParseExceptionpublic final OWLAnnotationProperty AnnotationProperty() throws ParseException
ParseExceptionpublic final OWLAnnotationProperty AnnotationPropertyIRI() throws ParseException
ParseExceptionpublic final OWLNamedIndividual NamedIndividual() throws ParseException
ParseExceptionpublic final OWLAnonymousIndividual AnonymousIndividual() throws ParseException
ParseExceptionpublic final OWLDatatype Datatype() throws ParseException
ParseExceptionpublic final OWLDatatype DatatypeIRI() throws ParseException
ParseExceptionpublic final int Cardinality()
throws ParseException
ParseExceptionpublic final int Integer()
throws ParseException
ParseExceptionpublic final OWLDatatypeDefinitionAxiom DatatypeDefinitionAxiom() throws ParseException
ParseExceptionpublic final OWLDataRange DataRange() throws ParseException
ParseExceptionpublic final OWLDataRange DataComplementOf() throws ParseException
ParseExceptionpublic final OWLDataRange DataOneOf() throws ParseException
ParseExceptionpublic final OWLDataRange DataUnionOf() throws ParseException
ParseExceptionpublic final OWLDataRange DataIntersectionOf() throws ParseException
ParseExceptionpublic final OWLDataRange DataRangeRestriction() throws ParseException
ParseExceptionpublic final OWLFacetRestriction DataRangeFacetRestriction() throws ParseException
ParseExceptionpublic final OWLAxiom Axiom() throws ParseException
ParseExceptionpublic final OWLClassAxiom ClassAxiom() throws ParseException
ParseExceptionpublic final OWLClassAxiom SubClassOf() throws ParseException
ParseExceptionpublic final OWLClassAxiom EquivalentClasses() throws ParseException
ParseExceptionpublic final OWLClassAxiom DisjointClasses() throws ParseException
ParseExceptionpublic final OWLClassAxiom DisjointUnion() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom ObjectPropertyAxiom() throws ParseException
ParseExceptionpublic final List<OWLObjectPropertyExpression> SubObjectPropertyChain() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom SubObjectPropertyOf() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom EquivalentObjectProperties() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom DisjointObjectProperties() throws ParseException
ParseExceptionpublic final Set<OWLObjectPropertyExpression> ObjectPropertySet() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom ObjectPropertyRange() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom ObjectPropertyDomain() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom FunctionalObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom InverseObjectProperties() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom InverseFunctionalObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom SymmetricObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom AsymmetricObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom ReflexiveObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom IrreflexiveObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom TransitiveObjectProperty() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom DataPropertyAxiom() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom SubDataPropertyOf() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom EquivalentDataProperties() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom DisjointDataProperties() throws ParseException
ParseExceptionpublic final Set<OWLDataPropertyExpression> DataPropertySet() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom DataPropertyDomain() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom DataPropertyRange() throws ParseException
ParseExceptionpublic final OWLPropertyAxiom FunctionalDataProperty() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom IndividualAxiom() throws ParseException
ParseExceptionpublic final Set<OWLIndividual> IndividualSet() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom SameIndividuals() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom DifferentIndividuals() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom ClassAssertion() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom ObjectPropertyAssertion() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom NegativeObjectPropertyAssertion() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom DataPropertyAssertion() throws ParseException
ParseExceptionpublic final OWLIndividualAxiom NegativeDataPropertyAssertion() throws ParseException
ParseExceptionpublic final OWLNamedIndividual IndividualIRI() throws ParseException
ParseExceptionpublic final OWLIndividual Individual() throws ParseException
ParseExceptionpublic final OWLObjectProperty ObjectPropertyIRI() throws ParseException
ParseExceptionpublic final OWLAxiom AnnotationAxiom() throws ParseException
ParseExceptionpublic final OWLAnnotation Annotation() throws ParseException
ParseExceptionpublic final OWLAnnotationSubject AnnotationSubject() throws ParseException
ParseExceptionpublic final OWLAnnotationValue AnnotationValue() throws ParseException
ParseExceptionpublic final Set<OWLAnnotation> AxiomAnnotationSet() throws ParseException
ParseExceptionpublic final OWLImportsDeclaration ImportsDeclaration() throws ParseException
ParseExceptionpublic final OWLAnnotationAssertionAxiom AnnotationAssertion() throws ParseException
ParseExceptionpublic final OWLSubAnnotationPropertyOfAxiom SubAnnotationPropertyOf() throws ParseException
ParseExceptionpublic final OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain() throws ParseException
ParseExceptionpublic final OWLAnnotationPropertyRangeAxiom AnnotationPropertyRange() throws ParseException
ParseExceptionpublic final OWLHasKeyAxiom HasKey() throws ParseException
ParseExceptionpublic final OWLAxiom Declaration() throws ParseException
ParseExceptionpublic final OWLEntity Entity() throws ParseException
ParseExceptionpublic final OWLLiteral Literal() throws ParseException
ParseExceptionpublic final String QuotedString() throws ParseException
ParseExceptionpublic final String LangTag() throws ParseException
ParseExceptionpublic final SWRLRule DLSafeRule() throws ParseException
ParseExceptionpublic final SWRLAtom Atom() throws ParseException
ParseExceptionpublic final SWRLClassAtom ClassAtom() throws ParseException
ParseExceptionpublic final SWRLDataRangeAtom DataRangeAtom() throws ParseException
ParseExceptionpublic final SWRLObjectPropertyAtom ObjectPropertyAtom() throws ParseException
ParseExceptionpublic final SWRLDataPropertyAtom DataPropertyAtom() throws ParseException
ParseExceptionpublic final SWRLBuiltInAtom BuiltInAtom() throws ParseException
ParseExceptionpublic final SWRLSameIndividualAtom SameIndividualAtom() throws ParseException
ParseExceptionpublic final SWRLDifferentIndividualsAtom DifferentIndividualsAtom() throws ParseException
ParseExceptionpublic final SWRLIArgument IArg() throws ParseException
ParseExceptionpublic final SWRLDArgument DArg() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(OWLFunctionalSyntaxParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2012 The University of Manchester. All Rights Reserved.