public class KRSSParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL
RegularExpression Id.
|
static int |
AND
RegularExpression Id.
|
static int |
ATLEAST
RegularExpression Id.
|
static int |
ATMOST
RegularExpression Id.
|
static int |
CLOSEPAR
RegularExpression Id.
|
static int |
COMMENT_START
RegularExpression Id.
|
static int |
DEFAULT
Lexical state.
|
static int |
DEFINECONCEPT
RegularExpression Id.
|
static int |
DEFINEPRIMITIVECONCEPT
RegularExpression Id.
|
static int |
DEFINEPRIMITIVEROLE
RegularExpression Id.
|
static int |
DISTINCT
RegularExpression Id.
|
static int |
ENDABOX
RegularExpression Id.
|
static int |
ENDTBOX
RegularExpression Id.
|
static int |
ENUM
RegularExpression Id.
|
static int |
EOF
End of File.
|
static int |
EQUAL
RegularExpression Id.
|
static int |
EXACTLY
RegularExpression Id.
|
static int |
IN_COMMENT
Lexical state.
|
static int |
IN_IRI
Lexical state.
|
static int |
IN_STRING_LITERAL
Lexical state.
|
static int |
INSTANCE
RegularExpression Id.
|
static int |
INT
RegularExpression Id.
|
static int |
IRI_END
RegularExpression Id.
|
static int |
IRI_START
RegularExpression Id.
|
org.semanticweb.owlapi.krss1.parser.Token |
jj_nt
Next token.
|
static int |
NAME
RegularExpression Id.
|
static int |
NONE
RegularExpression Id.
|
static int |
NOT
RegularExpression Id.
|
static int |
OPENPAR
RegularExpression Id.
|
static int |
OR
RegularExpression Id.
|
static int |
PRIMITIVECONCEPT
RegularExpression Id.
|
static int |
RANGE
RegularExpression Id.
|
static int |
RELATED
RegularExpression Id.
|
static int |
SOME
RegularExpression Id.
|
static int |
STRING_LITERAL_START
RegularExpression Id.
|
static int |
STRINGLITERAL
RegularExpression Id.
|
static int |
SUBROLE
RegularExpression Id.
|
org.semanticweb.owlapi.krss1.parser.Token |
token
Current token.
|
org.semanticweb.owlapi.krss1.parser.KRSSParserTokenManager |
token_source
Generated Token Manager.
|
static String[] |
tokenImage
Literal token values.
|
static int |
TRANSITIVE
RegularExpression Id.
|
| Constructor and Description |
|---|
KRSSParser(org.semanticweb.owlapi.krss1.parser.KRSSParserTokenManager tm)
Constructor with generated Token Manager.
|
KRSSParser(org.semanticweb.owlapi.krss1.parser.Provider stream)
Constructor.
|
KRSSParser(String dsl)
Constructor.
|
public org.semanticweb.owlapi.krss1.parser.KRSSParserTokenManager token_source
public org.semanticweb.owlapi.krss1.parser.Token token
public org.semanticweb.owlapi.krss1.parser.Token jj_nt
public static final int EOF
public static final int COMMENT_START
public static final int IRI_START
public static final int IRI_END
public static final int STRING_LITERAL_START
public static final int STRINGLITERAL
public static final int OPENPAR
public static final int CLOSEPAR
public static final int ENDTBOX
public static final int ENDABOX
public static final int PRIMITIVECONCEPT
public static final int DEFINEPRIMITIVECONCEPT
public static final int DEFINECONCEPT
public static final int DEFINEPRIMITIVEROLE
public static final int SUBROLE
public static final int TRANSITIVE
public static final int ENUM
public static final int RANGE
public static final int AND
public static final int OR
public static final int NOT
public static final int ALL
public static final int SOME
public static final int NONE
public static final int ATLEAST
public static final int ATMOST
public static final int EXACTLY
public static final int INSTANCE
public static final int RELATED
public static final int EQUAL
public static final int DISTINCT
public static final int NAME
public static final int INT
public static final int DEFAULT
public static final int IN_COMMENT
public static final int IN_IRI
public static final int IN_STRING_LITERAL
public static final String[] tokenImage
public KRSSParser(org.semanticweb.owlapi.krss1.parser.Provider stream)
public KRSSParser(String dsl) throws org.semanticweb.owlapi.krss1.parser.ParseException, org.semanticweb.owlapi.krss1.parser.TokenMgrException
org.semanticweb.owlapi.krss1.parser.ParseExceptionorg.semanticweb.owlapi.krss1.parser.TokenMgrExceptionpublic KRSSParser(org.semanticweb.owlapi.krss1.parser.KRSSParserTokenManager tm)
public KRSSParser setOntology(OWLOntology ontology)
public void setIgnoreAnnotationsAndDeclarations(boolean b)
public final void parse()
throws org.semanticweb.owlapi.krss1.parser.ParseException,
org.semanticweb.owlapi.krss1.parser.KRSSOWLParserException
org.semanticweb.owlapi.krss1.parser.ParseExceptionorg.semanticweb.owlapi.krss1.parser.KRSSOWLParserExceptionpublic final OWLAxiom TBoxStatement() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom DefinePrimitiveConcept() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom DefineConcept() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom DefinePrimitiveRole() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom Transitive() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom Range() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression ConceptExpression() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression ConceptName() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final Set<OWLClassExpression> ConceptSet() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression And() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression Or() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression Not() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression All() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression Some() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression AtLeast() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression AtMost() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLClassExpression Exactly() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLObjectProperty RoleName() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom ABoxStatement() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom Instance() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom Related() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom Equal() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLAxiom Distinct() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final OWLIndividual IndividualName() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final IRI Name() throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic final int Integer()
throws org.semanticweb.owlapi.krss1.parser.ParseException
org.semanticweb.owlapi.krss1.parser.ParseExceptionpublic void ReInit(String s)
public void ReInit(org.semanticweb.owlapi.krss1.parser.Provider stream)
public void ReInit(org.semanticweb.owlapi.krss1.parser.KRSSParserTokenManager tm)
public final org.semanticweb.owlapi.krss1.parser.Token getNextToken()
public final org.semanticweb.owlapi.krss1.parser.Token getToken(int index)
public org.semanticweb.owlapi.krss1.parser.ParseException generateParseException()
public final boolean trace_enabled()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2020 The University of Manchester. All rights reserved.