public class ManchesterOWLSyntaxEditorParser extends Object
| Type | Property and Description |
|---|---|
org.semanticweb.owlapi.model.OWLAnnotationProperty |
parseAnnotation |
org.semanticweb.owlapi.model.OWLDataProperty |
parseData |
| Constructor and Description |
|---|
ManchesterOWLSyntaxEditorParser(org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
String s) |
ManchesterOWLSyntaxEditorParser(org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration configuration,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
String s) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
consumeToken() |
protected void |
consumeToken(String expected) |
protected ParserException |
createException(boolean ontologyNameExpected) |
protected ParserException |
createException(boolean classNameExpected,
boolean objectPropertyNameExpected,
boolean dataPropertyNameExpected,
boolean individualNameExpected) |
protected ParserException |
createException(boolean classNameExpected,
boolean objectPropertyNameExpected,
boolean dataPropertyNameExpected,
boolean individualNameExpected,
boolean datatypeNameExpected,
boolean annotationPropertyNameExpected,
String... keywords) |
protected ParserException |
createException(String... keywords) |
String |
getBase() |
org.semanticweb.owlapi.model.OWLDataFactory |
getDataFactory() |
org.semanticweb.owlapi.model.IRI |
getIRI(String name) |
protected ManchesterOWLSyntaxTokenizer.Token |
getLastToken() |
String |
getLineCol() |
org.semanticweb.owlapi.model.OWLOntology |
getOntology(String name) |
org.semanticweb.owlapi.model.OWLAnnotationProperty |
getOWLAnnotationProperty(String name) |
org.semanticweb.owlapi.model.OWLClass |
getOWLClass(String name) |
org.semanticweb.owlapi.model.OWLDataProperty |
getOWLDataProperty(String name) |
org.semanticweb.owlapi.model.OWLDatatype |
getOWLDatatype(String name) |
OWLEntityChecker |
getOWLEntityChecker() |
org.semanticweb.owlapi.model.OWLIndividual |
getOWLIndividual(String name) |
org.semanticweb.owlapi.model.OWLObjectProperty |
getOWLObjectProperty(String name) |
ManchesterOWLSyntaxTokenizer.Token |
getToken() |
int |
getTokenCol() |
protected ManchesterOWLSyntaxTokenizer |
getTokenizer(String s) |
int |
getTokenPos() |
int |
getTokenRow() |
protected List<ManchesterOWLSyntaxTokenizer.Token> |
getTokens() |
protected List<String> |
getTokenSequence() |
org.semanticweb.owlapi.model.IRI |
getVariableIRI(String var) |
void |
initialiseClassFrameSections() |
void |
initialiseIndividualFrameSections() |
boolean |
isAllowEmptyFrameSections() |
boolean |
isAnnotationPropertyName(String name) |
boolean |
isClassName(String name) |
boolean |
isDataPropertyName(String name) |
boolean |
isDatatypeName(String name) |
boolean |
isIndividualName(String name) |
boolean |
isObjectPropertyName(String name) |
boolean |
isOntologyName(String name) |
boolean |
isSWRLBuiltin(String name) |
Map<org.semanticweb.owlapi.model.OWLClassExpression,Set<Set<org.semanticweb.owlapi.model.OWLAnnotation>>> |
parseAnnotatedClassExpressionList() |
Map<org.semanticweb.owlapi.model.OWLDataProperty,Set<org.semanticweb.owlapi.model.OWLAnnotation>> |
parseAnnotatedDataPropertyList() |
Map<org.semanticweb.owlapi.model.OWLObjectPropertyExpression,Set<org.semanticweb.owlapi.model.OWLAnnotation>> |
parseAnnotatedObjectPropertyList() |
Map<org.semanticweb.owlapi.model.OWLPropertyExpression<?,?>,Set<org.semanticweb.owlapi.model.OWLAnnotation>> |
parseAnnotatedPropertyList() |
protected org.semanticweb.owlapi.model.OWLAnnotation |
parseAnnotation() |
org.semanticweb.owlapi.model.OWLAnnotationProperty |
parseAnnotationProperty() |
Set<OntologyAxiomPair> |
parseAnnotationPropertyFrame() |
Set<org.semanticweb.owlapi.model.OWLAnnotationProperty> |
parseAnnotationPropertyList() |
Set<OntologyAxiomPair> |
parseAnnotations(org.semanticweb.owlapi.model.OWLAnnotationSubject subject) |
org.semanticweb.owlapi.model.OWLAxiom |
parseAsymmetricPropertyAxiom() |
org.semanticweb.owlapi.model.OWLAxiom |
parseAxiom() |
org.semanticweb.owlapi.model.OWLAxiom |
parseAxiomWithClassExpressionStart() |
org.semanticweb.owlapi.model.OWLAxiom |
parseAxiomWithDataPropertyStart() |
org.semanticweb.owlapi.model.OWLAxiom |
parseAxiomWithObjectPropertyStart() |
org.semanticweb.owlapi.model.SWRLBuiltInAtom |
parseBuiltInAtom() |
org.semanticweb.owlapi.model.SWRLAtom |
parseClassAtom() |
org.semanticweb.owlapi.model.OWLClassAxiom |
parseClassAxiom() |
org.semanticweb.owlapi.model.OWLAxiom |
parseClassAxiomRemainder(org.semanticweb.owlapi.model.OWLClassExpression startExpression) |
org.semanticweb.owlapi.model.OWLClassExpression |
parseClassExpression()
Parses an OWL class expression that is represented in Manchester OWL
Syntax
|
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
parseClassExpressionList(boolean allowAnnotations) |
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
parseClassExpressionList(String expectedOpen,
String expectedClose) |
Set<OntologyAxiomPair> |
parseClassFrame() |
Set<OntologyAxiomPair> |
parseClassFrameEOF() |
org.semanticweb.owlapi.model.OWLLiteral |
parseConstant()
Deprecated.
Use
parseLiteral() instead |
org.semanticweb.owlapi.model.OWLDataRange |
parseDataIntersectionOf() |
org.semanticweb.owlapi.model.OWLDataProperty |
parseDataProperty() |
org.semanticweb.owlapi.model.SWRLAtom |
parseDataPropertyAtom() |
protected org.semanticweb.owlapi.model.OWLDataPropertyCharacteristicAxiom |
parseDataPropertyCharacteristic(org.semanticweb.owlapi.model.OWLDataPropertyExpression prop) |
org.semanticweb.owlapi.model.OWLDataPropertyExpression |
parseDataPropertyExpression() |
org.semanticweb.owlapi.model.OWLDataPropertyExpression |
parseDataPropertyExpression(boolean allowUndeclared) |
Set<OntologyAxiomPair> |
parseDataPropertyFrame() |
Set<org.semanticweb.owlapi.model.OWLDataProperty> |
parseDataPropertyList() |
org.semanticweb.owlapi.model.OWLDataRange |
parseDataRange() |
org.semanticweb.owlapi.model.SWRLAtom |
parseDataRangeAtom() |
Set<org.semanticweb.owlapi.model.OWLDataRange> |
parseDataRangeList() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseDataRestriction() |
org.semanticweb.owlapi.model.OWLDatatype |
parseDatatype() |
Set<OntologyAxiomPair> |
parseDatatypeFrame() |
org.semanticweb.owlapi.model.OWLDataRange |
parseDataUnionOf() |
org.semanticweb.owlapi.model.SWRLDifferentIndividualsAtom |
parseDifferentFromAtom() |
Set<OntologyAxiomPair> |
parseDifferentIndividuals() |
Set<OntologyAxiomPair> |
parseDisjointClasses() |
Set<OntologyAxiomPair> |
parseDisjointProperties() |
org.semanticweb.owlapi.model.SWRLDArgument |
parseDObject() |
org.semanticweb.owlapi.model.SWRLVariable |
parseDVariable() |
org.semanticweb.owlapi.vocab.OWLFacet |
parseFacet() |
protected org.semanticweb.owlapi.model.OWLPropertyAssertionAxiom<?,?> |
parseFact(org.semanticweb.owlapi.model.OWLIndividual ind) |
Set<OntologyAxiomPair> |
parseFrames() |
org.semanticweb.owlapi.model.OWLAxiom |
parseFunctionPropertyAxiom() |
org.semanticweb.owlapi.model.SWRLIndividualArgument |
parseIIndividualObject() |
org.semanticweb.owlapi.model.OWLImportsDeclaration |
parseImportsDeclaration(org.semanticweb.owlapi.model.OWLOntology ont) |
org.semanticweb.owlapi.model.OWLIndividual |
parseIndividual() |
org.semanticweb.owlapi.model.OWLIndividual |
parseIndividual(boolean defined) |
Set<OntologyAxiomPair> |
parseIndividualFrame() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
parseIndividualList() |
int |
parseInteger() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseIntersection() |
org.semanticweb.owlapi.model.OWLAxiom |
parseInverseFunctionalPropertyAxiom() |
org.semanticweb.owlapi.model.SWRLIArgument |
parseIObject() |
org.semanticweb.owlapi.model.IRI |
parseIRI() |
org.semanticweb.owlapi.model.OWLAxiom |
parseIrreflexivePropertyAxiom() |
org.semanticweb.owlapi.model.SWRLVariable |
parseIVariable() |
org.semanticweb.owlapi.model.OWLLiteral |
parseLiteral() |
org.semanticweb.owlapi.model.SWRLLiteralArgument |
parseLiteralObject() |
Set<org.semanticweb.owlapi.model.IRI> |
parseNameList() |
Set<OntologyAxiomPair> |
parseNaryEquivalentClasses() |
Set<OntologyAxiomPair> |
parseNaryEquivalentProperties() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseNonNaryClassExpression()
Parses all class expressions except ObjectIntersectionOf and
ObjectUnionOf
|
org.semanticweb.owlapi.model.OWLClassExpression |
parseObjectOneOf() |
org.semanticweb.owlapi.model.SWRLAtom |
parseObjectPropertyAtom() |
org.semanticweb.owlapi.model.OWLObjectPropertyAxiom |
parseObjectPropertyAxiom() |
List<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> |
parseObjectPropertyChain() |
protected org.semanticweb.owlapi.model.OWLObjectPropertyCharacteristicAxiom |
parseObjectPropertyCharacteristic(org.semanticweb.owlapi.model.OWLObjectPropertyExpression prop) |
Set<org.semanticweb.owlapi.model.OWLAxiom> |
parseObjectPropertyCharacteristicList(org.semanticweb.owlapi.model.OWLObjectPropertyExpression prop) |
org.semanticweb.owlapi.model.OWLObjectPropertyExpression |
parseObjectPropertyExpression() |
org.semanticweb.owlapi.model.OWLObjectPropertyExpression |
parseObjectPropertyExpression(boolean allowUndeclared) |
Set<OntologyAxiomPair> |
parseObjectPropertyFrame() |
Set<OntologyAxiomPair> |
parseObjectPropertyFrame(boolean eof) |
Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> |
parseObjectPropertyList() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseObjectRestriction() |
ManchesterOWLSyntaxOntologyFormat |
parseOntology(org.semanticweb.owlapi.model.OWLOntology ont) |
ManchesterOWLSyntaxOntologyFormat |
parseOntology(org.semanticweb.owlapi.model.OWLOntologyManager manager,
org.semanticweb.owlapi.model.OWLOntology ont)
Deprecated.
|
ManchesterOWLSyntaxOntologyHeader |
parseOntologyHeader(boolean toEOF) |
Map<String,org.semanticweb.owlapi.model.IRI> |
parsePrefixDeclaration() |
org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom |
parsePropertyChainSubPropertyAxiom() |
org.semanticweb.owlapi.model.OWLPropertyExpression<?,?> |
parsePropertyExpression() |
Set<org.semanticweb.owlapi.model.OWLPropertyExpression<?,?>> |
parsePropertyList() |
org.semanticweb.owlapi.model.OWLAxiom |
parseReflexivePropertyAxiom() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseRestriction() |
org.semanticweb.owlapi.model.SWRLAtom |
parseRuleAtom() |
List<org.semanticweb.owlapi.model.SWRLAtom> |
parseRuleAtoms() |
Set<OntologyAxiomPair> |
parseRuleFrame() |
org.semanticweb.owlapi.model.SWRLSameIndividualAtom |
parseSameAsAtom() |
Set<OntologyAxiomPair> |
parseSameIndividual() |
org.semanticweb.owlapi.model.OWLAxiom |
parseSymmetricPropertyAxiom() |
org.semanticweb.owlapi.model.OWLAxiom |
parseTransitivePropertyAxiom() |
org.semanticweb.owlapi.model.OWLClassExpression |
parseUnion() |
Set<OntologyAxiomPair> |
parseValuePartitionFrame() |
Set<OntologyAxiomPair> |
parseValuePartitionValues(Set<org.semanticweb.owlapi.model.OWLOntology> onts,
org.semanticweb.owlapi.model.OWLClass superclass) |
org.semanticweb.owlapi.model.IRI |
parseVariable() |
protected String |
peekToken() |
protected void |
reset() |
void |
setAllowEmptyFrameSections(boolean allowEmptyFrameSections) |
void |
setBase(String base) |
void |
setDefaultOntology(org.semanticweb.owlapi.model.OWLOntology defaultOntology) |
void |
setOWLEntityChecker(OWLEntityChecker owlEntityChecker) |
void |
setOWLOntologyChecker(OWLOntologyChecker owlOntologyChecker) |
protected void |
throwOntologyNameOrURIExpectedException() |
ParserExceptionParserExceptionprotected org.semanticweb.owlapi.model.OWLDataFactory dataFactory
protected org.semanticweb.owlapi.util.DefaultPrefixManager pm
public static final String AND
public static final String OR
public static final String INVERSE
public static final String SOME
public static final String SELF
public static final String ONLY
public static final String VALUE
public static final String MIN
public static final String MAX
public static final String EXACTLY
public static final String ONLYSOME
public static final String NOT
public static final String CLASS
public static final String DATATYPE
public static final String SUB_CLASS_OF
public static final String SUPER_CLASS_OF
public static final String INSTANCES
public static final String EQUIVALENT_TO
public static final String EQUIVALENT_CLASSES
public static final String EQUIVALENT_PROPERTIES
public static final String DISJOINT_WITH
public static final String DISJOINT_UNION_OF
public static final String HAS_KEY
public static final String DISJOINT_CLASSES
public static final String DISJOINT_PROPERTIES
public static final String OBJECT_PROPERTY
public static final String DATA_PROPERTY
public static final String ANNOTATION_PROPERTY
public static final String SUB_PROPERTY_OF
public static final String SUPER_PROPERTY_OF
public static final String DOMAIN
public static final String RANGE
public static final String INVERSES
public static final String CHARACTERISTICS
public static final String INDIVIDUAL
public static final String INDIVIDUALS
public static final String ANNOTATIONS
public static final String TYPES
public static final String TYPE
public static final String FACTS
public static final String SAME_AS
public static final String SAME_INDIVIDUAL
public static final String DIFFERENT_FROM
public static final String DIFFERENT_INDIVIDUALS
public static final String VALUE_PARTITION
public static final String ONTOLOGY
public static final String PREFIX
public static final String IMPORT
public static final String SUB_PROPERTY_CHAIN
public static final String FUNCTIONAL
public static final String INVERSE_FUNCTIONAL
public static final String SYMMETRIC
public static final String ANTI_SYMMETRIC
public static final String ASYMMETRIC
public static final String TRANSITIVE
public static final String REFLEXIVE
public static final String IRREFLEXIVE
public static final String INVERSE_OF
public static final String RULE
public ManchesterOWLSyntaxEditorParser(org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
String s)
public ManchesterOWLSyntaxEditorParser(org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration configuration,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
String s)
public boolean isAllowEmptyFrameSections()
public void setAllowEmptyFrameSections(boolean allowEmptyFrameSections)
protected ManchesterOWLSyntaxTokenizer getTokenizer(String s)
public org.semanticweb.owlapi.model.OWLDataFactory getDataFactory()
public void initialiseClassFrameSections()
public void initialiseIndividualFrameSections()
protected List<ManchesterOWLSyntaxTokenizer.Token> getTokens()
protected void reset()
public String getBase()
public void setBase(String base)
public OWLEntityChecker getOWLEntityChecker()
public void setOWLEntityChecker(OWLEntityChecker owlEntityChecker)
public boolean isOntologyName(String name)
public boolean isClassName(String name)
public org.semanticweb.owlapi.model.OWLOntology getOntology(String name)
public void setOWLOntologyChecker(OWLOntologyChecker owlOntologyChecker)
public boolean isObjectPropertyName(String name)
public boolean isAnnotationPropertyName(String name)
public boolean isDataPropertyName(String name)
public boolean isIndividualName(String name)
public boolean isDatatypeName(String name)
public boolean isSWRLBuiltin(String name)
public org.semanticweb.owlapi.model.OWLClass getOWLClass(String name)
public org.semanticweb.owlapi.model.OWLObjectProperty getOWLObjectProperty(String name)
public org.semanticweb.owlapi.model.OWLIndividual getOWLIndividual(String name)
public org.semanticweb.owlapi.model.OWLDataProperty getOWLDataProperty(String name)
public org.semanticweb.owlapi.model.OWLDatatype getOWLDatatype(String name)
public org.semanticweb.owlapi.model.OWLAnnotationProperty getOWLAnnotationProperty(String name)
protected ManchesterOWLSyntaxTokenizer.Token getLastToken()
protected String peekToken()
protected String consumeToken()
protected void consumeToken(String expected) throws ParserException
ParserExceptionpublic ManchesterOWLSyntaxTokenizer.Token getToken()
public int getTokenPos()
public int getTokenCol()
public int getTokenRow()
public org.semanticweb.owlapi.model.OWLClassExpression parseClassExpression()
throws ParserException
ParserException - If a class expression could not be parsed.public org.semanticweb.owlapi.model.OWLClassExpression parseIntersection()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLClassExpression parseUnion()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLObjectPropertyExpression parseObjectPropertyExpression(boolean allowUndeclared)
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLObjectPropertyExpression parseObjectPropertyExpression()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLPropertyExpression<?,?> parsePropertyExpression()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLClassExpression parseRestriction()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLClassExpression parseNonNaryClassExpression()
throws ParserException
ParserException - if a non-nary class expression could not be parsedpublic org.semanticweb.owlapi.model.OWLClassExpression parseObjectRestriction()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLClassExpression parseDataRestriction()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.vocab.OWLFacet parseFacet()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDatatype parseDatatype()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDataRange parseDataRange()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDataRange parseDataIntersectionOf()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDataRange parseDataUnionOf()
throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLDataRange> parseDataRangeList() throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLLiteral parseLiteral()
throws ParserException
ParserException@Deprecated public org.semanticweb.owlapi.model.OWLLiteral parseConstant() throws ParserException
parseLiteral() insteadParserExceptionpublic int parseInteger()
throws ParserException
ParserExceptionpublic String getLineCol()
public org.semanticweb.owlapi.model.OWLClassExpression parseObjectOneOf()
throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseFrames() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseDatatypeFrame() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseNaryEquivalentClasses() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseNaryEquivalentProperties() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseAnnotations(org.semanticweb.owlapi.model.OWLAnnotationSubject subject) throws ParserException
ParserExceptionprotected org.semanticweb.owlapi.model.OWLAnnotation parseAnnotation()
throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseClassFrame() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseClassFrameEOF() throws ParserException
ParserExceptionpublic void setDefaultOntology(org.semanticweb.owlapi.model.OWLOntology defaultOntology)
public Set<OntologyAxiomPair> parseObjectPropertyFrame() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseObjectPropertyFrame(boolean eof) throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseDataPropertyFrame() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseAnnotationPropertyFrame() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseIndividualFrame() throws ParserException
ParserExceptionprotected org.semanticweb.owlapi.model.OWLPropertyAssertionAxiom<?,?> parseFact(org.semanticweb.owlapi.model.OWLIndividual ind)
throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseValuePartitionFrame() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseValuePartitionValues(Set<org.semanticweb.owlapi.model.OWLOntology> onts, org.semanticweb.owlapi.model.OWLClass superclass) throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseRuleFrame() throws ParserException
ParserExceptionpublic List<org.semanticweb.owlapi.model.SWRLAtom> parseRuleAtoms() throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLAtom parseRuleAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLAtom parseDataPropertyAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLAtom parseDataRangeAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLAtom parseObjectPropertyAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLAtom parseClassAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLDifferentIndividualsAtom parseDifferentFromAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLSameIndividualAtom parseSameAsAtom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLIArgument parseIObject()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.IRI getVariableIRI(String var)
public org.semanticweb.owlapi.model.SWRLVariable parseIVariable()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLIndividualArgument parseIIndividualObject()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.IRI parseVariable()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLDArgument parseDObject()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLVariable parseDVariable()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLLiteralArgument parseLiteralObject()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.SWRLBuiltInAtom parseBuiltInAtom()
throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseDisjointClasses() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseSameIndividual() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseDisjointProperties() throws ParserException
ParserExceptionpublic Set<OntologyAxiomPair> parseDifferentIndividuals() throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLAxiom> parseObjectPropertyCharacteristicList(org.semanticweb.owlapi.model.OWLObjectPropertyExpression prop) throws ParserException
ParserExceptionprotected org.semanticweb.owlapi.model.OWLObjectPropertyCharacteristicAxiom parseObjectPropertyCharacteristic(org.semanticweb.owlapi.model.OWLObjectPropertyExpression prop)
throws ParserException
ParserExceptionprotected org.semanticweb.owlapi.model.OWLDataPropertyCharacteristicAxiom parseDataPropertyCharacteristic(org.semanticweb.owlapi.model.OWLDataPropertyExpression prop)
throws ParserException
ParserExceptionpublic Map<org.semanticweb.owlapi.model.OWLClassExpression,Set<Set<org.semanticweb.owlapi.model.OWLAnnotation>>> parseAnnotatedClassExpressionList() throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLClassExpression> parseClassExpressionList(boolean allowAnnotations) throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLClassExpression> parseClassExpressionList(String expectedOpen, String expectedClose) throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLDataProperty> parseDataPropertyList() throws ParserException
ParserExceptionpublic Map<org.semanticweb.owlapi.model.OWLDataProperty,Set<org.semanticweb.owlapi.model.OWLAnnotation>> parseAnnotatedDataPropertyList() throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLAnnotationProperty> parseAnnotationPropertyList() throws ParserException
ParserExceptionpublic Map<org.semanticweb.owlapi.model.OWLPropertyExpression<?,?>,Set<org.semanticweb.owlapi.model.OWLAnnotation>> parseAnnotatedPropertyList() throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLPropertyExpression<?,?>> parsePropertyList() throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> parseObjectPropertyList() throws ParserException
ParserExceptionpublic Map<org.semanticweb.owlapi.model.OWLObjectPropertyExpression,Set<org.semanticweb.owlapi.model.OWLAnnotation>> parseAnnotatedObjectPropertyList() throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.OWLIndividual> parseIndividualList() throws ParserException
ParserExceptionpublic List<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> parseObjectPropertyChain() throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom parsePropertyChainSubPropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLClassAxiom parseClassAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLObjectPropertyAxiom parseObjectPropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLIndividual parseIndividual()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLIndividual parseIndividual(boolean defined)
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDataProperty parseDataProperty()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAnnotationProperty parseAnnotationProperty()
throws ParserException
ParserExceptionpublic Map<String,org.semanticweb.owlapi.model.IRI> parsePrefixDeclaration() throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLImportsDeclaration parseImportsDeclaration(org.semanticweb.owlapi.model.OWLOntology ont)
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.IRI parseIRI()
throws ParserException
ParserExceptionpublic Set<org.semanticweb.owlapi.model.IRI> parseNameList() throws ParserException
ParserException@Deprecated public ManchesterOWLSyntaxOntologyFormat parseOntology(org.semanticweb.owlapi.model.OWLOntologyManager manager, org.semanticweb.owlapi.model.OWLOntology ont) throws ParserException, org.semanticweb.owlapi.model.UnloadableImportException
ParserExceptionorg.semanticweb.owlapi.model.UnloadableImportExceptionpublic ManchesterOWLSyntaxOntologyFormat parseOntology(org.semanticweb.owlapi.model.OWLOntology ont) throws ParserException, org.semanticweb.owlapi.model.UnloadableImportException
ParserExceptionorg.semanticweb.owlapi.model.UnloadableImportExceptionpublic ManchesterOWLSyntaxOntologyHeader parseOntologyHeader(boolean toEOF) throws ParserException
ParserExceptionprotected ParserException createException(boolean ontologyNameExpected) throws ParserException
ParserExceptionprotected void throwOntologyNameOrURIExpectedException()
throws ParserException
ParserExceptionprotected ParserException createException(String... keywords) throws ParserException
ParserExceptionprotected ParserException createException(boolean classNameExpected, boolean objectPropertyNameExpected, boolean dataPropertyNameExpected, boolean individualNameExpected, boolean datatypeNameExpected, boolean annotationPropertyNameExpected, String... keywords) throws ParserException
ParserExceptionprotected ParserException createException(boolean classNameExpected, boolean objectPropertyNameExpected, boolean dataPropertyNameExpected, boolean individualNameExpected) throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.IRI getIRI(String name)
public org.semanticweb.owlapi.model.OWLAxiom parseAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseAxiomWithDataPropertyStart()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDataPropertyExpression parseDataPropertyExpression()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLDataPropertyExpression parseDataPropertyExpression(boolean allowUndeclared)
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseAxiomWithClassExpressionStart()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseClassAxiomRemainder(org.semanticweb.owlapi.model.OWLClassExpression startExpression)
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseAxiomWithObjectPropertyStart()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseInverseFunctionalPropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseSymmetricPropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseAsymmetricPropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseTransitivePropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseReflexivePropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseIrreflexivePropertyAxiom()
throws ParserException
ParserExceptionpublic org.semanticweb.owlapi.model.OWLAxiom parseFunctionPropertyAxiom()
throws ParserException
ParserExceptionCopyright © 2013 The University of Manchester. All Rights Reserved.