public class SymbolTable extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.semanticweb.owlapi.model.OWLDataFactory |
df |
| Constructor and Description |
|---|
SymbolTable(Scope globalScope,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
clear symbols
|
protected OWLPropertyChain |
createOWLPropertyChain(org.semanticweb.owlapi.model.OWLObjectPropertyExpression firstPropertyExpression,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression secondPropertyExpression,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression... others) |
void |
dispose()
dispose
|
Set<String> |
getAllCompletions(Type... types) |
org.semanticweb.owlapi.model.OWLObject |
getAllValueRestriction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
Type |
getAllValueRestrictionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom |
getAnnotationAssertion(ManchesterOWLSyntaxTree parentExpression,
ManchesterOWLSyntaxTree iri,
ManchesterOWLSyntaxTree annotationPropertyNode,
ManchesterOWLSyntaxTree object) |
Type |
getAnnotationAssertionType(ManchesterOWLSyntaxTree parentExpression,
ManchesterOWLSyntaxTree iri,
ManchesterOWLSyntaxTree annotationPropertyNode,
ManchesterOWLSyntaxTree object) |
org.semanticweb.owlapi.model.OWLAxiom |
getAsymmetricProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
org.semanticweb.owlapi.model.OWLAxiom |
getClassAssertionAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree description,
ManchesterOWLSyntaxTree subject) |
Type |
getClassAssertionAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree description,
ManchesterOWLSyntaxTree subject) |
Set<String> |
getCompletions(Type type) |
org.semanticweb.owlapi.model.OWLObject |
getConjunction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] conjuncts) |
Type |
getConjunctionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree... conjuncts) |
org.semanticweb.owlapi.model.OWLDataFactory |
getDataFactory() |
Set<Symbol> |
getDefinedSymbols()
Retrieves all the Symbos that have been stored in this Symbol table.
|
org.semanticweb.owlapi.model.OWLAxiom |
getDifferentIndividualsAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree anIndividual,
ManchesterOWLSyntaxTree anotherIndividual) |
Type |
getDifferentIndividualsAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree anIndividual,
ManchesterOWLSyntaxTree anotherIndividual) |
org.semanticweb.owlapi.model.OWLAxiom |
getDisjointAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs) |
Type |
getDisjointAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs) |
org.semanticweb.owlapi.model.OWLObject |
getDisjunction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] disjuncts) |
Type |
getDisjunctionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree... disjuncts) |
org.semanticweb.owlapi.model.OWLAxiom |
getDomainAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p,
ManchesterOWLSyntaxTree domain) |
Type |
getDomainAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p,
ManchesterOWLSyntaxTree domain) |
org.semanticweb.owlapi.model.OWLAxiom |
getEquivalentAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs) |
Type |
getEquivalentAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs) |
ErrorListener |
getErrorListener() |
org.semanticweb.owlapi.model.OWLObject |
getExactCardinalityRestriction(org.antlr.runtime.tree.CommonTree expression,
int i,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
Type |
getExactCardinalityRestrictionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
org.semanticweb.owlapi.model.OWLAxiom |
getFunctionalProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Type |
getFunctionalPropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Scope |
getGlobalScope() |
org.semanticweb.owlapi.model.OWLHasKeyAxiom |
getHasKey(ManchesterOWLSyntaxTree node,
Set<ManchesterOWLSyntaxTree> propertyExpressions) |
Type |
getHasKeyType(ManchesterOWLSyntaxTree node,
Set<ManchesterOWLSyntaxTree> propertyExpressions) |
org.semanticweb.owlapi.model.OWLAxiom |
getInverseFunctionalProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Type |
getInverseFunctionalPropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
org.semanticweb.owlapi.model.OWLAxiom |
getInverseOfAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs) |
Type |
getInverseOfAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs) |
org.semanticweb.owlapi.model.OWLObject |
getInverseProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree property) |
Type |
getInversePropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree property) |
org.semanticweb.owlapi.model.OWLAxiom |
getIrreflexiveProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Type |
getIrreflexivePropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
org.semanticweb.owlapi.model.OWLObject |
getMaxCardinalityRestriction(org.antlr.runtime.tree.CommonTree expression,
int cardinality,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
Type |
getMaxCardinalityRestrictionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
org.semanticweb.owlapi.model.OWLObject |
getMinCardinalityRestriction(org.antlr.runtime.tree.CommonTree expression,
int cardinality,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
Type |
getMinCardinalityRestrictionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
org.semanticweb.owlapi.model.OWLAxiom |
getNegatedAssertion(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree assertion) |
Type |
getNegatedAssertionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree assertion) |
org.semanticweb.owlapi.model.OWLObject |
getNegatedClassExpression(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree node) |
Type |
getNegatedClassExpressionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree node) |
org.semanticweb.owlapi.model.OWLObject |
getOneOf(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] individuals) |
Type |
getOneOfType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree... individuals) |
Set<String> |
getOWLClassCompletions() |
Set<String> |
getOWLDataPropertyCompletions() |
org.semanticweb.owlapi.model.OWLDatatypeRestriction |
getOWLDataRange(ManchesterOWLSyntaxTree dataType,
ManchesterOWLSyntaxTree parentExpression,
ManchesterOWLSyntaxTree... facets) |
OWLType |
getOWLDataRangeType(ManchesterOWLSyntaxTree dataType,
ManchesterOWLSyntaxTree parentExpression,
ManchesterOWLSyntaxTree... facets) |
org.semanticweb.owlapi.model.OWLFacetRestriction |
getOWLFacetRestriction(ManchesterOWLSyntaxTree facet,
ManchesterOWLSyntaxTree value,
org.antlr.runtime.tree.CommonTree parentExpression) |
OWLType |
getOWLFacetRestrictionType(ManchesterOWLSyntaxTree facet,
ManchesterOWLSyntaxTree value,
org.antlr.runtime.tree.CommonTree parentExpression) |
Set<String> |
getOWLIndividualCompletions() |
org.semanticweb.owlapi.model.OWLObject |
getOWLObject(ManchesterOWLSyntaxTree node) |
Set<String> |
getOWLObjectPropertyCompletions() |
Set<String> |
getOWLPropertyCompletions(Type type) |
org.semanticweb.owlapi.model.OWLLiteral |
getOWLTypedConstant(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree value,
ManchesterOWLSyntaxTree constantType) |
org.semanticweb.owlapi.model.OWLLiteral |
getOWLUntypedConstant(ManchesterOWLSyntaxTree value,
ManchesterOWLSyntaxTree lang) |
OWLPropertyChain |
getPropertyChain(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] chainItems) |
Type |
getPropertyChainType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree... chainItems) |
org.semanticweb.owlapi.model.OWLAxiom |
getRangeAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p,
ManchesterOWLSyntaxTree range) |
Type |
getRangeAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p,
ManchesterOWLSyntaxTree range) |
org.semanticweb.owlapi.model.OWLAxiom |
getReflexiveProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Type |
getReflexivePropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
org.semanticweb.owlapi.model.OWLAxiom |
getRoleAssertionAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subject,
ManchesterOWLSyntaxTree property,
ManchesterOWLSyntaxTree object) |
Type |
getRoleAssertionAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subject,
ManchesterOWLSyntaxTree property,
ManchesterOWLSyntaxTree object) |
org.semanticweb.owlapi.model.OWLAxiom |
getSameIndividualsAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree anIndividual,
ManchesterOWLSyntaxTree anotherIndividual) |
Type |
getSameIndividualsAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree anIndividual,
ManchesterOWLSyntaxTree anotherIndividual) |
org.semanticweb.owlapi.model.OWLObject |
getSomeValueRestriction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
Type |
getSomeValueRestrictionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler) |
org.semanticweb.owlapi.model.OWLAxiom |
getSubClassAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subClass,
ManchesterOWLSyntaxTree superClass) |
Type |
getSubClassAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subClass,
ManchesterOWLSyntaxTree superClass) |
org.semanticweb.owlapi.model.OWLAxiom |
getSubPropertyAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subProperty,
ManchesterOWLSyntaxTree superProperty) |
Type |
getSubPropertyAxiomType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subProperty,
ManchesterOWLSyntaxTree superProperty) |
org.semanticweb.owlapi.model.OWLAxiom |
getSymmetricProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Type |
getSymmetricPropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
org.semanticweb.owlapi.model.OWLAxiom |
getTransitiveProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
Type |
getTransitivePropertyType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p) |
org.semanticweb.owlapi.model.OWLClassExpression |
getValueRestriction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree value) |
Type |
getValueRestrictionType(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree value) |
Set<String> |
match(String prefix)
Retrieves a set of String representing the symbols matching with the
input prefix.
|
protected Symbol |
removeSymbol(org.antlr.runtime.Token token)
Removes the Symbol corresponding to the input Token.
|
void |
reportIllegalToken(org.antlr.runtime.tree.CommonTree expression,
String message) |
void |
reportIncompatibleSymbols(org.antlr.runtime.tree.CommonTree parentExpression,
org.antlr.runtime.tree.CommonTree... expressions) |
void |
reportIncompatibleSymbolType(org.antlr.runtime.tree.CommonTree tree,
Type t,
org.antlr.runtime.tree.CommonTree parentExpression) |
void |
reportIncompatibleSymbolType(ManchesterOWLSyntaxTree tree,
org.antlr.runtime.tree.CommonTree parentExpression) |
protected void |
reportUnrecognisedSymbol(ManchesterOWLSyntaxTree node) |
Symbol |
resolve(ManchesterOWLSyntaxTree node) |
Symbol |
resolveIRI(ManchesterOWLSyntaxTree node) |
protected Symbol |
retrieveSymbol(String name) |
void |
setErrorListener(ErrorListener errorListener) |
protected void |
storeSymbol(String name,
Symbol symbol)
Stores the input Symbol under the input name.
|
protected void |
storeSymbol(org.antlr.runtime.Token token,
Symbol symbol)
Stores the input Symbol under the input Token.
|
public SymbolTable(Scope globalScope, org.semanticweb.owlapi.model.OWLDataFactory dataFactory)
globalScope - globalScopedataFactory - dataFactorypublic Scope getGlobalScope()
public Symbol resolve(ManchesterOWLSyntaxTree node)
node - nodepublic ErrorListener getErrorListener()
public void setErrorListener(ErrorListener errorListener)
errorListener - the errorListener to setpublic Type getSubClassAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree subClass, ManchesterOWLSyntaxTree superClass)
expression - expressionsubClass - subClasssuperClass - superClasspublic void reportIncompatibleSymbolType(ManchesterOWLSyntaxTree tree, org.antlr.runtime.tree.CommonTree parentExpression)
tree - treeparentExpression - parentExpressionpublic void reportIncompatibleSymbolType(org.antlr.runtime.tree.CommonTree tree,
Type t,
org.antlr.runtime.tree.CommonTree parentExpression)
tree - treet - tparentExpression - parentExpressionpublic void reportIncompatibleSymbols(org.antlr.runtime.tree.CommonTree parentExpression,
org.antlr.runtime.tree.CommonTree... expressions)
parentExpression - parentExpressionexpressions - expressionspublic void reportIllegalToken(org.antlr.runtime.tree.CommonTree expression,
String message)
expression - expressionmessage - messagepublic Type getDisjunctionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree... disjuncts)
expression - expressiondisjuncts - disjunctspublic Type getConjunctionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree... conjuncts)
expression - expressionconjuncts - conjunctspublic Type getNegatedClassExpressionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree node)
expression - expressionnode - nodepublic Type getInversePropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree property)
expression - expressionproperty - propertypublic Type getSubPropertyAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree subProperty, ManchesterOWLSyntaxTree superProperty)
expression - expressionsubProperty - subPropertysuperProperty - superPropertypublic Type getSomeValueRestrictionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree propertyExpression, ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic Type getAllValueRestrictionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree propertyExpression, ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic Type getMinCardinalityRestrictionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree propertyExpression, ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic Type getMaxCardinalityRestrictionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree propertyExpression, ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic Type getExactCardinalityRestrictionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree propertyExpression, ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic Type getOneOfType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree... individuals)
expression - expressionindividuals - individualspublic Type getValueRestrictionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree propertyExpression, ManchesterOWLSyntaxTree value)
expression - expressionpropertyExpression - propertyExpressionvalue - valuepublic org.semanticweb.owlapi.model.OWLClassExpression getValueRestriction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree value)
expression - expressionpropertyExpression - propertyExpressionvalue - valuepublic Type getRoleAssertionAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree subject, ManchesterOWLSyntaxTree property, ManchesterOWLSyntaxTree object)
expression - expressionsubject - subjectproperty - propertyobject - objectpublic void clear()
public Type getEquivalentAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree lhs, ManchesterOWLSyntaxTree rhs)
expression - expressionlhs - lhsrhs - rhspublic Type getDomainAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p, ManchesterOWLSyntaxTree domain)
expression - expressionp - pdomain - domainpublic Type getRangeAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p, ManchesterOWLSyntaxTree range)
expression - expressionp - prange - rangepublic Type getPropertyChainType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree... chainItems)
expression - expressionchainItems - chainItemspublic Type getDisjointAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree lhs, ManchesterOWLSyntaxTree rhs)
expression - expressionlhs - lhsrhs - rhspublic Type getSameIndividualsAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree anIndividual, ManchesterOWLSyntaxTree anotherIndividual)
expression - expressionanIndividual - anIndividualanotherIndividual - anotherIndividualpublic Type getDifferentIndividualsAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree anIndividual, ManchesterOWLSyntaxTree anotherIndividual)
expression - expressionanIndividual - anIndividualanotherIndividual - anotherIndividualpublic Type getFunctionalPropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic Type getInverseFunctionalPropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic Type getIrreflexivePropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic Type getReflexivePropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic Type getSymmetricPropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic Type getTransitivePropertyType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic Type getInverseOfAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree lhs, ManchesterOWLSyntaxTree rhs)
expression - expressionlhs - lhsrhs - rhspublic Type getNegatedAssertionType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree assertion)
expression - expressionassertion - assertionpublic Type getClassAssertionAxiomType(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree description, ManchesterOWLSyntaxTree subject)
expression - expressiondescription - descriptionsubject - subjectpublic org.semanticweb.owlapi.model.OWLDataFactory getDataFactory()
public org.semanticweb.owlapi.model.OWLObject getOneOf(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] individuals)
expression - expressionindividuals - individualspublic org.semanticweb.owlapi.model.OWLObject getExactCardinalityRestriction(org.antlr.runtime.tree.CommonTree expression,
int i,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler)
expression - expressioni - ipropertyExpression - propertyExpressionfiller - fillerpublic org.semanticweb.owlapi.model.OWLObject getMaxCardinalityRestriction(org.antlr.runtime.tree.CommonTree expression,
int cardinality,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler)
expression - expressioncardinality - cardinalitypropertyExpression - propertyExpressionfiller - fillerpublic org.semanticweb.owlapi.model.OWLObject getMinCardinalityRestriction(org.antlr.runtime.tree.CommonTree expression,
int cardinality,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler)
expression - expressioncardinality - cardinalitypropertyExpression - propertyExpressionfiller - fillerpublic org.semanticweb.owlapi.model.OWLObject getAllValueRestriction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic org.semanticweb.owlapi.model.OWLObject getSomeValueRestriction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree propertyExpression,
ManchesterOWLSyntaxTree filler)
expression - expressionpropertyExpression - propertyExpressionfiller - fillerpublic org.semanticweb.owlapi.model.OWLObject getInverseProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree property)
expression - expressionproperty - propertypublic org.semanticweb.owlapi.model.OWLObject getOWLObject(ManchesterOWLSyntaxTree node)
node - nodeprotected void reportUnrecognisedSymbol(ManchesterOWLSyntaxTree node)
node - nodepublic org.semanticweb.owlapi.model.OWLObject getNegatedClassExpression(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree node)
expression - expressionnode - nodepublic org.semanticweb.owlapi.model.OWLLiteral getOWLTypedConstant(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree value,
ManchesterOWLSyntaxTree constantType)
expression - expressionvalue - valueconstantType - constantTypepublic org.semanticweb.owlapi.model.OWLLiteral getOWLUntypedConstant(ManchesterOWLSyntaxTree value, ManchesterOWLSyntaxTree lang)
value - valuelang - langpublic org.semanticweb.owlapi.model.OWLObject getConjunction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] conjuncts)
expression - expressionconjuncts - conjunctspublic OWLPropertyChain getPropertyChain(org.antlr.runtime.tree.CommonTree expression, ManchesterOWLSyntaxTree[] chainItems)
expression - expressionchainItems - chainItemsprotected OWLPropertyChain createOWLPropertyChain(org.semanticweb.owlapi.model.OWLObjectPropertyExpression firstPropertyExpression, org.semanticweb.owlapi.model.OWLObjectPropertyExpression secondPropertyExpression, org.semanticweb.owlapi.model.OWLObjectPropertyExpression... others)
public org.semanticweb.owlapi.model.OWLObject getDisjunction(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree[] disjuncts)
expression - expressiondisjuncts - disjunctspublic org.semanticweb.owlapi.model.OWLAxiom getNegatedAssertion(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree assertion)
expression - expressionassertion - assertionpublic org.semanticweb.owlapi.model.OWLAxiom getTransitiveProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getSymmetricProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getAsymmetricProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getReflexiveProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getIrreflexiveProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getInverseFunctionalProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getFunctionalProperty(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p)
expression - expressionp - ppublic org.semanticweb.owlapi.model.OWLAxiom getDifferentIndividualsAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree anIndividual,
ManchesterOWLSyntaxTree anotherIndividual)
expression - expressionanIndividual - anIndividualanotherIndividual - anotherIndividualpublic org.semanticweb.owlapi.model.OWLAxiom getSameIndividualsAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree anIndividual,
ManchesterOWLSyntaxTree anotherIndividual)
expression - expressionanIndividual - anIndividualanotherIndividual - anotherIndividualpublic org.semanticweb.owlapi.model.OWLAxiom getRangeAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p,
ManchesterOWLSyntaxTree range)
expression - expressionp - prange - rangepublic org.semanticweb.owlapi.model.OWLAxiom getDomainAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree p,
ManchesterOWLSyntaxTree domain)
expression - expressionp - pdomain - domainpublic org.semanticweb.owlapi.model.OWLAxiom getClassAssertionAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree description,
ManchesterOWLSyntaxTree subject)
expression - expressiondescription - descriptionsubject - subjectpublic org.semanticweb.owlapi.model.OWLAxiom getRoleAssertionAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subject,
ManchesterOWLSyntaxTree property,
ManchesterOWLSyntaxTree object)
expression - expressionsubject - subjectproperty - propertyobject - objectpublic org.semanticweb.owlapi.model.OWLAxiom getSubPropertyAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subProperty,
ManchesterOWLSyntaxTree superProperty)
expression - expressionsubProperty - subPropertysuperProperty - superPropertypublic org.semanticweb.owlapi.model.OWLAxiom getDisjointAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs)
expression - expressionlhs - lhsrhs - rhspublic org.semanticweb.owlapi.model.OWLAxiom getInverseOfAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs)
expression - expressionlhs - lhsrhs - rhspublic org.semanticweb.owlapi.model.OWLAxiom getEquivalentAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree lhs,
ManchesterOWLSyntaxTree rhs)
expression - expressionlhs - lhsrhs - rhspublic org.semanticweb.owlapi.model.OWLAxiom getSubClassAxiom(org.antlr.runtime.tree.CommonTree expression,
ManchesterOWLSyntaxTree subClass,
ManchesterOWLSyntaxTree superClass)
expression - expressionsubClass - subClasssuperClass - superClasspublic Set<String> match(String prefix)
prefix - The input prefix. Cannot be null.NullPointerException - if the input is null.public Set<String> getOWLObjectPropertyCompletions()
public Set<String> getOWLDataPropertyCompletions()
public Set<String> getCompletions(Type type)
type - typepublic Set<String> getOWLPropertyCompletions(Type type)
type - typepublic Set<String> getOWLIndividualCompletions()
public Set<String> getAllCompletions(Type... types)
types - typesprotected void storeSymbol(org.antlr.runtime.Token token,
Symbol symbol)
token - The input Token. Cannot be null.symbol - The Symbol to be stored. cannot be null.NullPointerException - if either input is null.protected void storeSymbol(String name, Symbol symbol)
name - The input name. Cannot be null.symbol - The Symbol to be stored. cannot be null.NullPointerException - if either input is null.protected Symbol removeSymbol(org.antlr.runtime.Token token)
token - The input Token.null otherwise.public Set<Symbol> getDefinedSymbols()
public void dispose()
public OWLType getOWLFacetRestrictionType(ManchesterOWLSyntaxTree facet, ManchesterOWLSyntaxTree value, org.antlr.runtime.tree.CommonTree parentExpression)
facet - facetvalue - valueparentExpression - parentExpressionpublic org.semanticweb.owlapi.model.OWLFacetRestriction getOWLFacetRestriction(ManchesterOWLSyntaxTree facet, ManchesterOWLSyntaxTree value, org.antlr.runtime.tree.CommonTree parentExpression)
facet - facetvalue - valueparentExpression - parentExpressionpublic OWLType getOWLDataRangeType(ManchesterOWLSyntaxTree dataType, ManchesterOWLSyntaxTree parentExpression, ManchesterOWLSyntaxTree... facets)
dataType - dataTypeparentExpression - parentExpressionfacets - facetspublic org.semanticweb.owlapi.model.OWLDatatypeRestriction getOWLDataRange(ManchesterOWLSyntaxTree dataType, ManchesterOWLSyntaxTree parentExpression, ManchesterOWLSyntaxTree... facets)
dataType - dataTypeparentExpression - parentExpressionfacets - facetspublic Type getHasKeyType(ManchesterOWLSyntaxTree node, Set<ManchesterOWLSyntaxTree> propertyExpressions)
node - nodepropertyExpressions - propertyExpressionspublic org.semanticweb.owlapi.model.OWLHasKeyAxiom getHasKey(ManchesterOWLSyntaxTree node, Set<ManchesterOWLSyntaxTree> propertyExpressions)
node - nodepropertyExpressions - propertyExpressionspublic Type getAnnotationAssertionType(ManchesterOWLSyntaxTree parentExpression, ManchesterOWLSyntaxTree iri, ManchesterOWLSyntaxTree annotationPropertyNode, ManchesterOWLSyntaxTree object)
parentExpression - parentExpressioniri - iriannotationPropertyNode - annotationPropertyNodeobject - objectpublic org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom getAnnotationAssertion(ManchesterOWLSyntaxTree parentExpression, ManchesterOWLSyntaxTree iri, ManchesterOWLSyntaxTree annotationPropertyNode, ManchesterOWLSyntaxTree object)
parentExpression - parentExpressioniri - iriannotationPropertyNode - annotationPropertyNodeobject - objectpublic Symbol resolveIRI(ManchesterOWLSyntaxTree node)
node - nodeCopyright © 2015 The University of Manchester. All Rights Reserved.