org.topbraid.strings.classexpressions.parser
Class ClassExpressionParser
java.lang.Object
org.topbraid.strings.classexpressions.parser.ClassExpressionParser
- All Implemented Interfaces:
- ClassExpressionParserConstants
public class ClassExpressionParser
- extends java.lang.Object
- implements ClassExpressionParserConstants
| Fields inherited from interface org.topbraid.strings.classexpressions.parser.ClassExpressionParserConstants |
ALL, AND, DATA_COMPLEMENT_OF, DEFAULT, DIGIT, EOF, EXACT, EXPONENT, FLOATING_POINT_LITERAL, FORMAL_COMMENT, HAS, IDENTIFIER, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INTEGER_LITERAL, LETTER, MAX, MIN, MULTI_LINE_COMMENT, NOT, ONE_OF, OR, SELF, SINGLE_LINE_COMMENT, SOME, STRING_LITERAL, tokenImage, XOR, XSD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextCouldBeClass
public static boolean nextCouldBeClass
nextCouldBeInstance
public static boolean nextCouldBeInstance
nextCouldBeProperty
public static boolean nextCouldBeProperty
recentHasValueProperty
public static com.hp.hpl.jena.rdf.model.Property recentHasValueProperty
errorMessage
public static java.lang.String errorMessage
token_source
public ClassExpressionParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
ClassExpressionParser
public ClassExpressionParser(java.io.InputStream stream)
ClassExpressionParser
public ClassExpressionParser(java.io.Reader stream)
ClassExpressionParser
public ClassExpressionParser(ClassExpressionParserTokenManager tm)
checkClass
public static void checkClass(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String text)
throws ParseException
- Throws:
ParseException
checkDataType
public static void checkDataType(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String text)
throws ParseException
- Throws:
ParseException
parseClass
public static com.hp.hpl.jena.rdf.model.Resource parseClass(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String text)
throws ParseException
- Throws:
ParseException
parseDataType
public static com.hp.hpl.jena.rdf.model.Resource parseDataType(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String text)
throws ParseException
- Throws:
ParseException
parseFile
public final com.hp.hpl.jena.rdf.model.Resource parseFile()
throws ParseException
- Throws:
ParseException
OWLUnionClass
public final com.hp.hpl.jena.rdf.model.Resource OWLUnionClass()
throws ParseException
- Throws:
ParseException
OWLXORClass
public final com.hp.hpl.jena.rdf.model.Resource OWLXORClass()
throws ParseException
- Throws:
ParseException
OWLIntersectionClass
public final com.hp.hpl.jena.rdf.model.Resource OWLIntersectionClass()
throws ParseException
- Throws:
ParseException
OWLComplementClass
public final com.hp.hpl.jena.rdf.model.Resource OWLComplementClass()
throws ParseException
- Throws:
ParseException
OWLRestrictionOrNamedClass
public final com.hp.hpl.jena.rdf.model.Resource OWLRestrictionOrNamedClass()
throws ParseException
- Throws:
ParseException
IDClass
public final com.hp.hpl.jena.rdf.model.Resource IDClass()
throws ParseException
- Throws:
ParseException
Restriction
public final com.hp.hpl.jena.rdf.model.Resource Restriction(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLCardinalityBase
public final com.hp.hpl.jena.ontology.Restriction OWLCardinalityBase(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLMaxCardinality
public final com.hp.hpl.jena.ontology.MaxCardinalityRestriction OWLMaxCardinality(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLMinCardinality
public final com.hp.hpl.jena.ontology.MinCardinalityRestriction OWLMinCardinality(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLCardinality
public final com.hp.hpl.jena.ontology.CardinalityRestriction OWLCardinality(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLHasValue
public final com.hp.hpl.jena.ontology.HasValueRestriction OWLHasValue(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLHasValueValueAndEOF
public final com.hp.hpl.jena.rdf.model.RDFNode OWLHasValueValueAndEOF()
throws ParseException
- Throws:
ParseException
OWLHasValueValue
public final com.hp.hpl.jena.rdf.model.RDFNode OWLHasValueValue()
throws ParseException
- Throws:
ParseException
OWLHasValueValueString
public final com.hp.hpl.jena.rdf.model.Literal OWLHasValueValueString()
throws ParseException
- Throws:
ParseException
OWLHasValueValueFloat
public final com.hp.hpl.jena.rdf.model.Literal OWLHasValueValueFloat()
throws ParseException
- Throws:
ParseException
OWLHasValueValueInteger
public final com.hp.hpl.jena.rdf.model.Literal OWLHasValueValueInteger()
throws ParseException
- Throws:
ParseException
OWLHasValueValueBooleanOrInstance
public final com.hp.hpl.jena.rdf.model.RDFNode OWLHasValueValueBooleanOrInstance()
throws ParseException
- Throws:
ParseException
CardinalityValue
public final int CardinalityValue()
throws ParseException
- Throws:
ParseException
Identifier
public final java.lang.String Identifier()
throws ParseException
- Throws:
ParseException
OWLEnumeratedClass
public final com.hp.hpl.jena.rdf.model.Resource OWLEnumeratedClass()
throws ParseException
- Throws:
ParseException
OWLAllValuesFrom
public final com.hp.hpl.jena.ontology.AllValuesFromRestriction OWLAllValuesFrom(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLSomeValuesFrom
public final com.hp.hpl.jena.ontology.SomeValuesFromRestriction OWLSomeValuesFrom(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
OWLSelfRestriction
public final OWLSelfRestriction OWLSelfRestriction(com.hp.hpl.jena.rdf.model.Property property)
throws ParseException
- Throws:
ParseException
DataType
public final com.hp.hpl.jena.rdf.model.Resource DataType()
throws ParseException
- Throws:
ParseException
OWLDataRange
public final OWLDataRange OWLDataRange()
throws ParseException
- Throws:
ParseException
OWLDataRangeRestriction
public final OWLDataRange OWLDataRangeRestriction(OWLDataRange base)
throws ParseException
- Throws:
ParseException
OWLDataRangeFacet
public final void OWLDataRangeFacet(OWLDataRange dataRange,
OWLDataRange base)
throws ParseException
- Throws:
ParseException
Facet
public final com.hp.hpl.jena.rdf.model.Property Facet()
throws ParseException
- Throws:
ParseException
OWLDataRangeLiteral
public final com.hp.hpl.jena.rdf.model.Literal OWLDataRangeLiteral()
throws ParseException
- Throws:
ParseException
OneOfValues
public final java.util.List OneOfValues()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ClassExpressionParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()