public class KRSS2Parser extends Object implements KRSS2ParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
KRSS2ParserTokenManager |
token_source
Generated Token Manager.
|
ALL, AND, ATLEAST, ATMOST, BOTTOM, CLOSEPAR, COMMENT_START, COMPOSE, DEFAULT, DEFINECONCEPT, DEFINEINDIVIDUAL, DEFINEPRIMITIVECONCEPT, DEFINEPRIMITIVEROLE, DEFINEROLE, DISJOINT, DISJOINTROLES, DISTINCT, DOMAIN_ATTRIBUTE, DPOINT, ENDABOX, ENDTBOX, ENUM, EOF, EQUAL, EQUIVALENT, ERROR, EXACTLY, IMPLIES, IMPLIESROLE, IN_COMMENT, IN_IRI, INSTANCE, INT, INV, INVERSE, INVERSE_ATTRIBUTE, IRI_END, IRI_START, LEFT_IDENTITY_ATTRIBUTE, NAME, NCCHAR_FULL, NCCHAR1, NIL, NOT, ONEOF, OPENPAR, OR, PARENT, PARENTS, RANGE, RANGE_ATTRIBUTE, REFLEXIVE_ATTRIBUTE, RELATED, RIGHT_IDENTITY_ATTRIBUTE, ROLE_INCLUSION, ROLESEQUIVALENT, SOME, SUBROLE, SYMMETRIC_ATTRIBUTE, tokenImage, TOP, TRANSITIVE, TRANSITIVE_ATTRIBUTE, TRUE| Constructor and Description |
|---|
KRSS2Parser(InputStream stream)
Constructor with InputStream.
|
KRSS2Parser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
KRSS2Parser(KRSS2ParserTokenManager tm)
Constructor with generated Token Manager.
|
KRSS2Parser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ABoxStatement() |
protected void |
addAxiom(org.semanticweb.owlapi.model.OWLAxiom ax) |
org.semanticweb.owlapi.model.OWLClassExpression |
All() |
org.semanticweb.owlapi.model.OWLClassExpression |
And() |
org.semanticweb.owlapi.model.OWLClassExpression |
AtLeast() |
org.semanticweb.owlapi.model.OWLClassExpression |
AtMost() |
void |
ComplexRoleInclusion() |
org.semanticweb.owlapi.model.OWLClassExpression |
ConceptExpression() |
org.semanticweb.owlapi.model.OWLClassExpression |
ConceptName() |
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
ConceptSet() |
void |
DefineConcept() |
void |
DefinePrimitiveConcept() |
void |
DefinePrimitiveRole() |
void |
DefineRole() |
void |
disable_tracing()
Disable tracing.
|
void |
Disjoint() |
void |
DisjointRoles() |
void |
Distinct() |
void |
DomainAttribute(org.semanticweb.owlapi.model.OWLObjectProperty subProp) |
void |
enable_tracing()
Enable tracing.
|
void |
Equal() |
void |
Equivalent() |
org.semanticweb.owlapi.model.OWLClassExpression |
Exactly() |
ParseException |
generateParseException()
Generate ParseException.
|
org.semanticweb.owlapi.model.IRI |
getIRI(String s) |
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
Implies() |
void |
ImpliesRole() |
org.semanticweb.owlapi.model.OWLIndividual |
IndividualName() |
void |
Instance() |
int |
Integer() |
void |
InverseProperty(org.semanticweb.owlapi.model.OWLObjectProperty subProp) |
void |
Inverses() |
void |
LeftIdentity(org.semanticweb.owlapi.model.OWLObjectProperty r) |
org.semanticweb.owlapi.model.IRI |
Name() |
org.semanticweb.owlapi.model.OWLClassExpression |
Not() |
org.semanticweb.owlapi.model.OWLClassExpression |
Or() |
void |
Parent(org.semanticweb.owlapi.model.OWLObjectProperty subProp) |
void |
Parents(org.semanticweb.owlapi.model.OWLObjectProperty subProp) |
void |
parse() |
boolean |
parseBoolean() |
List<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> |
propertyChain() |
void |
Range() |
void |
RangeAttribute(org.semanticweb.owlapi.model.OWLObjectProperty subProp) |
void |
ReflexiveAttribute(org.semanticweb.owlapi.model.OWLObjectProperty property) |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(KRSS2ParserTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
Related() |
void |
RightIdentity(org.semanticweb.owlapi.model.OWLObjectProperty r) |
org.semanticweb.owlapi.model.OWLObjectPropertyExpression |
RoleExpression() |
org.semanticweb.owlapi.model.OWLObjectProperty |
RoleName() |
Set<org.semanticweb.owlapi.model.OWLObjectProperty> |
RoleNameSet() |
void |
RolesEquivalent() |
void |
setNameResolution(NameResolverStrategy nameResolution) |
void |
setOntology(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory) |
org.semanticweb.owlapi.model.OWLClassExpression |
Some() |
void |
SymmetricAttribute(org.semanticweb.owlapi.model.OWLObjectProperty property) |
void |
TBoxStatement() |
void |
Transitive() |
void |
TransitiveAttribute(org.semanticweb.owlapi.model.OWLObjectProperty property) |
public KRSS2ParserTokenManager token_source
public Token token
public Token jj_nt
public KRSS2Parser(InputStream stream)
public KRSS2Parser(InputStream stream, String encoding)
public KRSS2Parser(Reader stream)
public KRSS2Parser(KRSS2ParserTokenManager tm)
public void setOntology(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory)
protected void addAxiom(org.semanticweb.owlapi.model.OWLAxiom ax)
throws KRSS2OWLParserException
KRSS2OWLParserExceptionpublic org.semanticweb.owlapi.model.IRI getIRI(String s) throws URISyntaxException
URISyntaxExceptionpublic void setNameResolution(NameResolverStrategy nameResolution)
public final void parse()
throws ParseException,
KRSS2OWLParserException
public final void TBoxStatement()
throws ParseException,
KRSS2OWLParserException
public final void DefinePrimitiveConcept()
throws ParseException,
KRSS2OWLParserException
public final void DefineConcept()
throws ParseException,
KRSS2OWLParserException
public final void Disjoint()
throws ParseException,
KRSS2OWLParserException
public final void Equivalent()
throws ParseException,
KRSS2OWLParserException
public final void Implies()
throws ParseException,
KRSS2OWLParserException
public final void DefineRole()
throws ParseException,
KRSS2OWLParserException
public final void DefinePrimitiveRole()
throws ParseException,
KRSS2OWLParserException
public final void RightIdentity(org.semanticweb.owlapi.model.OWLObjectProperty r)
throws ParseException,
KRSS2OWLParserException
public final void LeftIdentity(org.semanticweb.owlapi.model.OWLObjectProperty r)
throws ParseException,
KRSS2OWLParserException
public final void InverseProperty(org.semanticweb.owlapi.model.OWLObjectProperty subProp)
throws ParseException,
KRSS2OWLParserException
public final void DomainAttribute(org.semanticweb.owlapi.model.OWLObjectProperty subProp)
throws ParseException,
KRSS2OWLParserException
public final void RangeAttribute(org.semanticweb.owlapi.model.OWLObjectProperty subProp)
throws ParseException,
KRSS2OWLParserException
public final void TransitiveAttribute(org.semanticweb.owlapi.model.OWLObjectProperty property)
throws ParseException,
KRSS2OWLParserException
public final void SymmetricAttribute(org.semanticweb.owlapi.model.OWLObjectProperty property)
throws ParseException,
KRSS2OWLParserException
public final void ReflexiveAttribute(org.semanticweb.owlapi.model.OWLObjectProperty property)
throws ParseException,
KRSS2OWLParserException
public final void Parents(org.semanticweb.owlapi.model.OWLObjectProperty subProp)
throws ParseException,
KRSS2OWLParserException
public final void Parent(org.semanticweb.owlapi.model.OWLObjectProperty subProp)
throws ParseException,
KRSS2OWLParserException
public final void DisjointRoles()
throws ParseException,
KRSS2OWLParserException
public final void ImpliesRole()
throws ParseException,
KRSS2OWLParserException
public final void Inverses()
throws ParseException,
KRSS2OWLParserException
public final void RolesEquivalent()
throws ParseException,
KRSS2OWLParserException
public final void ComplexRoleInclusion()
throws ParseException,
KRSS2OWLParserException
public final List<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> propertyChain() throws ParseException, KRSS2OWLParserException
public final void Transitive()
throws ParseException,
KRSS2OWLParserException
public final void Range()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression ConceptExpression()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression ConceptName()
throws ParseException,
KRSS2OWLParserException
public final Set<org.semanticweb.owlapi.model.OWLClassExpression> ConceptSet() throws ParseException, KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression And()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression Or()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression Not()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression All()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression Some()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression AtLeast()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression AtMost()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLClassExpression Exactly()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLObjectProperty RoleName()
throws ParseException,
KRSS2OWLParserException
public final Set<org.semanticweb.owlapi.model.OWLObjectProperty> RoleNameSet() throws ParseException, KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLObjectPropertyExpression RoleExpression()
throws ParseException,
KRSS2OWLParserException
public final void ABoxStatement()
throws ParseException,
KRSS2OWLParserException
public final void Instance()
throws ParseException,
KRSS2OWLParserException
public final void Related()
throws ParseException,
KRSS2OWLParserException
public final void Equal()
throws ParseException,
KRSS2OWLParserException
public final void Distinct()
throws ParseException,
KRSS2OWLParserException
public final org.semanticweb.owlapi.model.OWLIndividual IndividualName()
throws ParseException,
KRSS2OWLParserException
public final int Integer()
throws ParseException,
KRSS2OWLParserException
public final boolean parseBoolean()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.IRI Name()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(KRSS2ParserTokenManager 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 © 2013 The University of Manchester. All Rights Reserved.