public class KRSSParser extends Object implements KRSSParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
KRSSParserTokenManager |
token_source
Generated Token Manager.
|
ALL, AND, ATLEAST, ATMOST, CLOSEPAR, COMMENT_START, DEFAULT, DEFINECONCEPT, DEFINEPRIMITIVECONCEPT, DEFINEPRIMITIVEROLE, DISTINCT, ENDABOX, ENDTBOX, ENUM, EOF, EQUAL, EXACTLY, IN_COMMENT, IN_IRI, IN_STRING_LITERAL, INSTANCE, INT, IRI_END, IRI_START, NAME, NONE, NOT, OPENPAR, OR, PRIMITIVECONCEPT, RANGE, RELATED, SOME, STRING_LITERAL_START, STRINGLITERAL, SUBROLE, tokenImage, TRANSITIVE| Constructor and Description |
|---|
KRSSParser(InputStream stream)
Constructor with InputStream.
|
KRSSParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
KRSSParser(KRSSParserTokenManager tm)
Constructor with generated Token Manager.
|
KRSSParser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.semanticweb.owlapi.model.OWLAxiom |
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() |
org.semanticweb.owlapi.model.OWLClassExpression |
ConceptExpression() |
org.semanticweb.owlapi.model.OWLClassExpression |
ConceptName() |
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
ConceptSet() |
org.semanticweb.owlapi.model.OWLAxiom |
DefineConcept() |
org.semanticweb.owlapi.model.OWLAxiom |
DefinePrimitiveConcept() |
org.semanticweb.owlapi.model.OWLAxiom |
DefinePrimitiveRole() |
void |
disable_tracing()
Disable tracing.
|
org.semanticweb.owlapi.model.OWLAxiom |
Distinct() |
void |
enable_tracing()
Enable tracing.
|
org.semanticweb.owlapi.model.OWLAxiom |
Equal() |
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.
|
org.semanticweb.owlapi.model.OWLIndividual |
IndividualName() |
org.semanticweb.owlapi.model.OWLAxiom |
Instance() |
int |
Integer() |
org.semanticweb.owlapi.model.IRI |
Name() |
org.semanticweb.owlapi.model.OWLClassExpression |
Not() |
org.semanticweb.owlapi.model.OWLClassExpression |
Or() |
void |
parse() |
org.semanticweb.owlapi.model.OWLAxiom |
Range() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(KRSSParserTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
org.semanticweb.owlapi.model.OWLAxiom |
Related() |
org.semanticweb.owlapi.model.OWLObjectProperty |
RoleName() |
void |
setIgnoreAnnotationsAndDeclarations(boolean b) |
void |
setOntology(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory) |
org.semanticweb.owlapi.model.OWLClassExpression |
Some() |
org.semanticweb.owlapi.model.OWLAxiom |
TBoxStatement() |
org.semanticweb.owlapi.model.OWLAxiom |
Transitive() |
public KRSSParserTokenManager token_source
public Token token
public Token jj_nt
public KRSSParser(InputStream stream)
public KRSSParser(InputStream stream, String encoding)
public KRSSParser(Reader stream)
public KRSSParser(KRSSParserTokenManager 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 KRSSOWLParserException
KRSSOWLParserExceptionpublic org.semanticweb.owlapi.model.IRI getIRI(String s)
public void setIgnoreAnnotationsAndDeclarations(boolean b)
public final void parse()
throws ParseException,
KRSSOWLParserException
ParseExceptionKRSSOWLParserExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom TBoxStatement()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom DefinePrimitiveConcept()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom DefineConcept()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom DefinePrimitiveRole()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom Transitive()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom Range()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression ConceptExpression()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression ConceptName()
throws ParseException
ParseExceptionpublic final Set<org.semanticweb.owlapi.model.OWLClassExpression> ConceptSet() throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression And()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression Or()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression Not()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression All()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression Some()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression AtLeast()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression AtMost()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLClassExpression Exactly()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLObjectProperty RoleName()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom ABoxStatement()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom Instance()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom Related()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom Equal()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLAxiom Distinct()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.OWLIndividual IndividualName()
throws ParseException
ParseExceptionpublic final org.semanticweb.owlapi.model.IRI Name()
throws ParseException
ParseExceptionpublic final int Integer()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(KRSSParserTokenManager 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.