public class KBParser extends Object implements KBParserConstants
Modifier and Type | Field and Description |
---|---|
static String |
internalNamespace |
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
KBParserTokenManager |
token_source
Generated Token Manager.
|
ALL, AND, BOTTOM, COMMAND_END, DEFAULT, DOUBLE, EOF, EXISTS, FORMAL_COMMENT, GE, ID, LE, MULTI_LINE_COMMENT, NOT, NUMBER, OR, SINGLE_LINE_COMMENT, STRING, tokenImage, TOP
Constructor and Description |
---|
KBParser(InputStream stream)
Constructor with InputStream.
|
KBParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
KBParser(KBParserTokenManager tm)
Constructor with generated Token Manager.
|
KBParser(Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLClassAssertionAxiom |
ABoxConcept() |
org.semanticweb.owlapi.model.OWLObjectPropertyAssertionAxiom |
ABoxRole() |
void |
All() |
void |
And() |
org.semanticweb.owlapi.model.OWLClass |
AtomicConcept() |
void |
Bottom() |
org.semanticweb.owlapi.model.OWLClassExpression |
Concept() |
org.semanticweb.owlapi.model.OWLDataProperty |
DatatypeProperty() |
org.semanticweb.owlapi.model.OWLDataPropertyDomainAxiom |
DatatypePropertyDomainAxiom() |
org.semanticweb.owlapi.model.OWLDataPropertyRangeAxiom |
DatatypePropertyRangeAxiom() |
void |
disable_tracing()
Disable tracing.
|
double |
Double() |
void |
enable_tracing()
Enable tracing.
|
void |
Exists() |
org.semanticweb.owlapi.model.OWLFunctionalObjectPropertyAxiom |
Functional() |
void |
GE() |
ParseException |
generateParseException()
Generate ParseException.
|
static String |
getInternalURI(String name) |
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
String |
Id() |
org.semanticweb.owlapi.model.OWLIndividual |
Individual() |
int |
Integer() |
org.semanticweb.owlapi.model.OWLInverseObjectPropertiesAxiom |
Inverse() |
org.semanticweb.owlapi.model.OWLOntology |
KB() |
void |
LE() |
void |
Not() |
org.semanticweb.owlapi.model.OWLObjectProperty |
ObjectProperty() |
org.semanticweb.owlapi.model.OWLObjectPropertyDomainAxiom |
ObjectPropertyDomainAxiom() |
org.semanticweb.owlapi.model.OWLObjectPropertyRangeAxiom |
ObjectPropertyRangeAxiom() |
void |
Or() |
static org.semanticweb.owlapi.model.OWLClassExpression |
parseConcept(String string) |
static org.semanticweb.owlapi.model.OWLClassExpression |
parseConcept(String string,
String namespace) |
static org.semanticweb.owlapi.model.OWLOntology |
parseKBFile(File file) |
static org.semanticweb.owlapi.model.OWLOntology |
parseKBFile(String content) |
static org.semanticweb.owlapi.model.OWLOntology |
parseKBFile(URL url) |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(KBParserTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
String |
String() |
org.semanticweb.owlapi.model.OWLSubObjectPropertyOfAxiom |
Subrole() |
org.semanticweb.owlapi.model.OWLSymmetricObjectPropertyAxiom |
Symmetric() |
org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom |
TBoxEquiv() |
org.semanticweb.owlapi.model.OWLSubClassOfAxiom |
TBoxSub() |
void |
Top() |
org.semanticweb.owlapi.model.OWLTransitiveObjectPropertyAxiom |
Transitive() |
public static String internalNamespace
public KBParserTokenManager token_source
public KBParser(InputStream stream)
public KBParser(InputStream stream, String encoding)
public KBParser(KBParserTokenManager tm)
public static String getInternalURI(String name)
public static org.semanticweb.owlapi.model.OWLClassExpression parseConcept(String string) throws ParseException
ParseException
public static org.semanticweb.owlapi.model.OWLClassExpression parseConcept(String string, String namespace) throws ParseException
ParseException
public static org.semanticweb.owlapi.model.OWLOntology parseKBFile(String content) throws ParseException, org.semanticweb.owlapi.model.OWLOntologyCreationException
ParseException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public static org.semanticweb.owlapi.model.OWLOntology parseKBFile(URL url) throws IOException, ParseException, org.semanticweb.owlapi.model.OWLOntologyCreationException
IOException
ParseException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public static org.semanticweb.owlapi.model.OWLOntology parseKBFile(File file) throws FileNotFoundException, ParseException, org.semanticweb.owlapi.model.OWLOntologyCreationException
FileNotFoundException
ParseException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public final org.semanticweb.owlapi.model.OWLOntology KB() throws ParseException, org.semanticweb.owlapi.model.OWLOntologyCreationException
ParseException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public final org.semanticweb.owlapi.model.OWLClassAssertionAxiom ABoxConcept() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLObjectPropertyAssertionAxiom ABoxRole() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLTransitiveObjectPropertyAxiom Transitive() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLFunctionalObjectPropertyAxiom Functional() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLSymmetricObjectPropertyAxiom Symmetric() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLInverseObjectPropertiesAxiom Inverse() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLSubObjectPropertyOfAxiom Subrole() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom TBoxEquiv() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLSubClassOfAxiom TBoxSub() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLObjectPropertyDomainAxiom ObjectPropertyDomainAxiom() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLDataPropertyDomainAxiom DatatypePropertyDomainAxiom() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLObjectPropertyRangeAxiom ObjectPropertyRangeAxiom() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLDataPropertyRangeAxiom DatatypePropertyRangeAxiom() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLClassExpression Concept() throws ParseException
ParseException
public final void Or() throws ParseException
ParseException
public final void And() throws ParseException
ParseException
public final void Top() throws ParseException
ParseException
public final void Bottom() throws ParseException
ParseException
public final void Exists() throws ParseException
ParseException
public final void All() throws ParseException
ParseException
public final void Not() throws ParseException
ParseException
public final void GE() throws ParseException
ParseException
public final void LE() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLClass AtomicConcept() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLDataProperty DatatypeProperty() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLObjectProperty ObjectProperty() throws ParseException
ParseException
public final org.semanticweb.owlapi.model.OWLIndividual Individual() throws ParseException
ParseException
public final String Id() throws ParseException
ParseException
public final double Double() throws ParseException
ParseException
public final int Integer() throws ParseException
ParseException
public final String String() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(KBParserTokenManager tm)
public final Token getNextToken()
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann