public class DLSyntaxParser extends Object implements DLSyntaxParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
DLSyntaxParserTokenManager |
token_source
Generated Token Manager.
|
ALL, AND, CLOSEBRACE, CLOSEPAR, CLOSESQPAR, COLON, COMPOSE, DEFAULT, DOT, DOUBLE, EOF, EQUIVALENTTO, EXACT, ID, IN, INT, INVERSE, MAX, MIN, NEQ, NOT, OPENBRACE, OPENPAR, OPENSQPAR, OR, SOME, SUBCLASSOF, tokenImage, TRANSITIVEROLES| Constructor and Description |
|---|
DLSyntaxParser(DLSyntaxParserTokenManager tm)
Constructor with generated Token Manager.
|
DLSyntaxParser(InputStream stream)
Constructor with InputStream.
|
DLSyntaxParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
DLSyntaxParser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.semanticweb.owlapi.model.OWLClassExpression |
And() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
org.semanticweb.owlapi.model.IRI |
getIRI(String val) |
org.semanticweb.owlapi.model.IRI |
getIRIFromId(String qname) |
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
org.semanticweb.owlapi.model.OWLClassExpression |
NamedClassOrNestedDescription() |
org.semanticweb.owlapi.model.OWLClassExpression |
NestedClassDescription() |
org.semanticweb.owlapi.model.OWLClassExpression |
NonNaryBooleanDescription() |
org.semanticweb.owlapi.model.OWLClassExpression |
Or() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseAllRestriction() |
org.semanticweb.owlapi.model.OWLAxiom |
parseAxiom() |
Set<org.semanticweb.owlapi.model.OWLAxiom> |
parseAxioms() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseCardinalityRestriction() |
org.semanticweb.owlapi.model.OWLAxiom |
parseClassAssertion() |
org.semanticweb.owlapi.model.OWLAxiom |
parseClassAxiom() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseClassDescription() |
org.semanticweb.owlapi.model.OWLClass |
parseClassId() |
org.semanticweb.owlapi.model.OWLDataRange |
parseDataOneOf() |
org.semanticweb.owlapi.model.OWLAxiom |
parseDataPropertyAssertion() |
org.semanticweb.owlapi.model.OWLDataPropertyExpression |
parseDataPropertyId() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseDataSomeRestriction() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseDescription() |
org.semanticweb.owlapi.model.OWLAxiom |
parseDifferentIndividualsAxiom() |
org.semanticweb.owlapi.model.IRI |
parseId() |
org.semanticweb.owlapi.model.OWLAxiom |
parseIndividualAxiom() |
org.semanticweb.owlapi.model.OWLIndividual |
parseIndividualId() |
org.semanticweb.owlapi.model.OWLLiteral |
parseLiteral() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseObjectComplementOf() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseObjectOneOf() |
org.semanticweb.owlapi.model.OWLAxiom |
parseObjectPropertyAssertion() |
org.semanticweb.owlapi.model.OWLObjectPropertyExpression |
parseObjectPropertyId() |
org.semanticweb.owlapi.model.OWLAxiom |
parsePropertyAxiom() |
org.semanticweb.owlapi.model.OWLAxiom |
parsePropertyChain() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseRestriction() |
org.semanticweb.owlapi.model.OWLAxiom |
parseSameIndividual() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseSomeRestriction() |
void |
ReInit(DLSyntaxParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
setDefaultNamespace(String ns) |
void |
setOWLDataFactory(org.semanticweb.owlapi.model.OWLDataFactory factory) |
void |
setPrefixMapping(String prefix,
String namespace) |
public DLSyntaxParserTokenManager token_source
public Token token
public Token jj_nt
public DLSyntaxParser(InputStream stream)
public DLSyntaxParser(InputStream stream, String encoding)
public DLSyntaxParser(Reader stream)
public DLSyntaxParser(DLSyntaxParserTokenManager tm)
public void setOWLDataFactory(org.semanticweb.owlapi.model.OWLDataFactory factory)
public void setDefaultNamespace(String ns)
public org.semanticweb.owlapi.model.IRI getIRI(String val)
public org.semanticweb.owlapi.model.IRI getIRIFromId(String qname)
public final org.semanticweb.owlapi.model.OWLClassExpression parseDescription()
throws ParseException
ParseExceptionpublic final Set<org.semanticweb.owlapi.model.OWLAxiom> parseAxioms() throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseAxiom()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseIndividualAxiom()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseDifferentIndividualsAxiom()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseObjectPropertyAssertion()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseDataPropertyAssertion()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseSameIndividual()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseClassAssertion()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parseClassAxiom()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parsePropertyChain()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom parsePropertyAxiom()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseClassDescription()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression Or()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression And()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression NonNaryBooleanDescription()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLObjectPropertyExpression parseObjectPropertyId()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLDataPropertyExpression parseDataPropertyId()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseRestriction()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseSomeRestriction()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseDataSomeRestriction()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseAllRestriction()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseCardinalityRestriction()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLIndividual parseIndividualId()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseObjectComplementOf()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression parseObjectOneOf()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLDataRange parseDataOneOf()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression NamedClassOrNestedDescription()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClass parseClassId()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression NestedClassDescription()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLLiteral parseLiteral()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.IRI parseId()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(DLSyntaxParserTokenManager 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.