Class SPARQLExtParser
- java.lang.Object
-
- org.apache.jena.sparql.lang.QueryParserBase
-
- org.apache.jena.sparql.lang.SPARQLParserBase
-
- fr.mines_stetienne.ci.sparql_generate.lang.SPARQLExtParserBase
-
- fr.mines_stetienne.ci.sparql_generate.lang.SPARQLExtParser
-
- All Implemented Interfaces:
SPARQLExtParserConstants
public class SPARQLExtParser extends SPARQLExtParserBase implements SPARQLExtParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description Token
jj_nt
Next token.Token
token
Current token.SPARQLExtParserTokenManager
token_source
Generated Token Manager.-
Fields inherited from class org.apache.jena.sparql.lang.SPARQLParserBase
query
-
Fields inherited from class org.apache.jena.sparql.lang.QueryParserBase
activeLabelMap, nRDFfirst, nRDFnil, nRDFobject, nRDFpredicate, nRDFrest, nRDFsubject, nRDFtype, ParserLoggerName, previousLabels, prologue, XSD_FALSE, XSD_TRUE
-
Fields inherited from interface fr.mines_stetienne.ci.sparql_generate.lang.SPARQLExtParserConstants
A2Z, A2ZN, ABS, ACCEPT, ADD, AFTER, AGG, ALL, AND, ANON, AS, ASC, ASK, AT, AVG, BANG, BASE, BEFORE, BIND, BLANK_NODE_LABEL, BNODE, BOM, BOUND, BOX, BY, CARAT, CEIL, CLEAR, COALESCE, COLON, COMMA, CONCAT, CONSTRUCT, CONTAINS, COPY, COUNT, CREATE, DATA, DATATYPE, DAY, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DELETE, DELETE_DATA, DELETE_WHERE, DESC, DESCRIBE, DFT, DIGITS, DISTINCT, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, DROP, DTYPE, ECHAR, ENCODE_FOR_URI, EOF, EQ, EXISTS, EXPONENT, EXPRESSIONS, FALSE, FILTER, FLOOR, FORMAT, FPATH, FROM, FUNCTION, GE, GENERATE, GRAPH, GROUP, GROUP_CONCAT, GT, HAVING, HEX, HOURS, IF, IN, INSERT, INSERT_DATA, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, INTO, IRI, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_NUMERIC, IS_URI, ITERATOR, KW_A, L1, L2, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LCASE, LE, LIMIT, LIST, LOAD, LPAREN, LT, MAX, MD5, META, MIN, MINUS, MINUS_P, MINUTES, MONTH, MOVE, NAMED, NE, NIL, NOT, NOW, OFFSET, OPTIONAL, ORDER, PARSING_XIRI, PARSING_XL1, PARSING_XL2, PARSING_XS1, PARSING_XS2, PERCENT, PERFORM, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PRAGMA, PREFIX, QMARK, QUOTE_3D, QUOTE_3S, RAND, RBRACE, RBRACKET, REDUCED, REGEX, REPLACE, RI, ROUND, RPAREN, RPATH, S1, S2, SAME_TERM, SAMPLE, SC_AND, SC_OR, SECONDS, SELECT, SEMICOLON, SEPARATOR, SERVICE, SHA1, SHA224, SHA256, SHA384, SHA512, SILENT, SINGLE_LINE_COMMENT, SLASH, SOURCE, STAR, START_XEXPR, STDDEV, STR, STRAFTER, STRBEFORE, STRDT, STRENDS, STRING_LITERAL_LONG1, STRING_LITERAL_LONG1_END, STRING_LITERAL_LONG1_START, STRING_LITERAL_LONG2, STRING_LITERAL_LONG2_END, STRING_LITERAL_LONG2_START, STRING_LITERAL1, STRING_LITERAL1_END, STRING_LITERAL1_START, STRING_LITERAL2, STRING_LITERAL2_END, STRING_LITERAL2_START, STRLANG, STRLEN, STRSTARTS, STRUUID, SUBSTR, SUM, TEMPLATE, TILDE, TIMEZONE, TO, tokenImage, TRUE, TZ, UCASE, UNDEF, UNION, UNKNOWN, URI, USING, UUID, VALUES, VAR1, VAR2, VARNAME, VBAR, WHERE, WITH, WS, WSC, XIRIref_END, XIRIref_START, YEAR
-
-
Constructor Summary
Constructors Constructor Description SPARQLExtParser(SPARQLExtParserTokenManager tm)
Constructor with generated Token Manager.SPARQLExtParser(InputStream stream)
Constructor with InputStream.SPARQLExtParser(InputStream stream, Charset encoding)
Constructor with InputStream and supplied encodingSPARQLExtParser(Reader stream)
Constructor with InputStream.
-
Method Summary
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.lang.SPARQLExtParserBase
asSPARQLExtQuery, endSubQueryExt, newSubQuery, startQuery, startSubQueryExt, startSubSelect, stripQuotes, unescapeStr
-
Methods inherited from class org.apache.jena.sparql.lang.SPARQLParserBase
createDeleteDataSink, createInsertDataSink, emitDataBlockValue, emitDataBlockVariable, emitUpdate, endSubSelect, finishDataBlockValueRow, finishDataDelete, finishDataInsert, finishDeleteTemplate, finishInlineData, finishInsertTemplate, finishModifyUpdate, finishQuery, finishUpdateOperation, finishUpdateRequest, finishValuesClause, finishWherePattern, getQuery, popQuery, pushQuery, setQuery, setUpdate, startDataBlockValueRow, startDataDelete, startDataInsert, startDeleteTemplate, startInlineData, startInsertTemplate, startModifyUpdate, startUpdateOperation, startUpdateRequest, startValuesClause, startWherePattern
-
Methods inherited from class org.apache.jena.sparql.lang.QueryParserBase
asExpr, asExprNoSign, checkConcrete, checkString, compressGroupOfOneGroup, createBNode, createBNode, createExprExists, createExprNotExists, createListNode, createLiteral, createLiteralDecimal, createLiteralDouble, createLiteralInteger, createNode, createQuotedTriple, createTripleTerm, createVariable, doubleValue, endBasicGraphPattern, endGroup, endTriplesBlock, finishAggregate, fixupPrefix, getAggregateDepth, getAllowAggregatesInExpressions, getBNodesAreAllowed, getBNodesAreVariables, getPrologue, insert, insert, insert, insert, insert, integerValue, isBNodeIRI, makeFunction_BNode, makeFunction_BNode, makeFunction_IRI, makeFunction_IRI, makeFunction_URI, makeFunction_URI, preConditionAnnotation, resolveIRI, resolvePName, resolveQuotedIRI, setAccGraph, setAllowAggregatesInExpressions, setBase, setBNodesAreAllowed, setBNodesAreVariables, setInConstructTemplate, setPrefix, setPrologue, startAggregate, startBasicGraphPattern, startGroup, startTriplesBlock, stripChars, stripQuotes, stripQuotes3, stripSign, throwParseException, throwParseException, unescape, unescapePName, unescapeUnicode, warnDeprecation
-
-
-
-
Field Detail
-
token_source
public SPARQLExtParserTokenManager token_source
Generated Token Manager.
-
token
public Token token
Current token.
-
jj_nt
public Token jj_nt
Next token.
-
-
Constructor Detail
-
SPARQLExtParser
public SPARQLExtParser(InputStream stream)
Constructor with InputStream.- Parameters:
stream
- input stream
-
SPARQLExtParser
public SPARQLExtParser(InputStream stream, Charset encoding)
Constructor with InputStream and supplied encoding- Parameters:
stream
- input streamencoding
- charset to be used
-
SPARQLExtParser
public SPARQLExtParser(Reader stream)
Constructor with InputStream.- Parameters:
stream
- char stream
-
SPARQLExtParser
public SPARQLExtParser(SPARQLExtParserTokenManager tm)
Constructor with generated Token Manager.- Parameters:
tm
- Token manager to use
-
-
Method Detail
-
SPARQLExtUnit
public final void SPARQLExtUnit() throws ParseException
- Throws:
ParseException
-
ExtQuery
public final void ExtQuery() throws ParseException
- Throws:
ParseException
-
Function
public final void Function() throws ParseException
- Throws:
ParseException
-
GenerateQuery
public final void GenerateQuery() throws ParseException
- Throws:
ParseException
-
SubQueryUnit
public final void SubQueryUnit() throws ParseException
- Throws:
ParseException
-
TemplateQuery
public final void TemplateQuery() throws ParseException
- Throws:
ParseException
-
PerformQuery
public final void PerformQuery() throws ParseException
- Throws:
ParseException
-
VarList
public final void VarList() throws ParseException
- Throws:
ParseException
-
TemplateClause
public final void TemplateClause() throws ParseException
- Throws:
ParseException
-
TemplateInnerClause
public final void TemplateInnerClause() throws ParseException
- Throws:
ParseException
-
TemplateBefore
public final void TemplateBefore() throws ParseException
- Throws:
ParseException
-
TemplateAfter
public final void TemplateAfter() throws ParseException
- Throws:
ParseException
-
TemplateSeparator
public final void TemplateSeparator() throws ParseException
- Throws:
ParseException
-
TExpression
public final void TExpression(List<Element> elems) throws ParseException
- Throws:
ParseException
-
PrimaryExpressionNotBracketted
public final ElementExpr PrimaryExpressionNotBracketted() throws ParseException
- Throws:
ParseException
-
Box
public final ElementBox Box() throws ParseException
- Throws:
ParseException
-
Format
public final ElementFormat Format() throws ParseException
- Throws:
ParseException
-
Group
public final ElementTGroup Group() throws ParseException
- Throws:
ParseException
-
SubTemplateQuery
public final Token SubTemplateQuery() throws ParseException
- Throws:
ParseException
-
Pragma
public final void Pragma() throws ParseException
- Throws:
ParseException
-
Separator
public final String Separator() throws ParseException
- Throws:
ParseException
-
PerformClause
public final void PerformClause() throws ParseException
- Throws:
ParseException
-
PerformClauseSub
public final List<Element> PerformClauseSub() throws ParseException
- Throws:
ParseException
-
SubPerformQuery
public final Token SubPerformQuery() throws ParseException
- Throws:
ParseException
-
PerformCall
public final void PerformCall(List<Element> elements) throws ParseException
- Throws:
ParseException
-
PExpression
public final Expr PExpression() throws ParseException
- Throws:
ParseException
-
GenerateClause
public final void GenerateClause() throws ParseException
- Throws:
ParseException
-
GenerateClauseSub
public final List<Element> GenerateClauseSub() throws ParseException
- Throws:
ParseException
-
BindingClauses
public final Element BindingClauses() throws ParseException
- Throws:
ParseException
-
IteratorClause
public final ElementIterator IteratorClause() throws ParseException
- Throws:
ParseException
-
SourceClause
public final ElementSource SourceClause() throws ParseException
- Throws:
ParseException
-
SubGenerateQuery
public final Token SubGenerateQuery() throws ParseException
- Throws:
ParseException
-
ByteOrderMark
public final void ByteOrderMark() throws ParseException
- Throws:
ParseException
-
Prologue
public final void Prologue() throws ParseException
- Throws:
ParseException
-
BaseDecl
public final void BaseDecl() throws ParseException
- Throws:
ParseException
-
PrefixDecl
public final void PrefixDecl() throws ParseException
- Throws:
ParseException
-
SelectQuery
public final void SelectQuery() throws ParseException
- Throws:
ParseException
-
SubSelectQuery
public final void SubSelectQuery() throws ParseException
- Throws:
ParseException
-
SubSelect
public final void SubSelect() throws ParseException
- Throws:
ParseException
-
NamedSelectClause
public final void NamedSelectClause() throws ParseException
- Throws:
ParseException
-
SelectClause
public final void SelectClause() throws ParseException
- Throws:
ParseException
-
PostSelectClause
public final void PostSelectClause() throws ParseException
- Throws:
ParseException
-
ConstructQuery
public final void ConstructQuery() throws ParseException
- Throws:
ParseException
-
DescribeQuery
public final void DescribeQuery() throws ParseException
- Throws:
ParseException
-
AskQuery
public final void AskQuery() throws ParseException
- Throws:
ParseException
-
DatasetClause
public final void DatasetClause() throws ParseException
- Throws:
ParseException
-
DefaultGraphClause
public final void DefaultGraphClause() throws ParseException
- Throws:
ParseException
-
NamedGraphClause
public final void NamedGraphClause() throws ParseException
- Throws:
ParseException
-
GenerateGraphClause
public final void GenerateGraphClause() throws ParseException
- Throws:
ParseException
-
SourceSelector
public final String SourceSelector() throws ParseException
- Throws:
ParseException
-
WhereClause
public final void WhereClause() throws ParseException
- Throws:
ParseException
-
SolutionModifier
public final void SolutionModifier() throws ParseException
- Throws:
ParseException
-
GroupClause
public final void GroupClause() throws ParseException
- Throws:
ParseException
-
GroupCondition
public final void GroupCondition() throws ParseException
- Throws:
ParseException
-
HavingClause
public final void HavingClause() throws ParseException
- Throws:
ParseException
-
HavingCondition
public final void HavingCondition() throws ParseException
- Throws:
ParseException
-
OrderClause
public final void OrderClause() throws ParseException
- Throws:
ParseException
-
OrderCondition
public final void OrderCondition() throws ParseException
- Throws:
ParseException
-
LimitOffsetClauses
public final void LimitOffsetClauses() throws ParseException
- Throws:
ParseException
-
LimitClause
public final void LimitClause() throws ParseException
- Throws:
ParseException
-
OffsetClause
public final void OffsetClause() throws ParseException
- Throws:
ParseException
-
ValuesClause
public final void ValuesClause() throws ParseException
- Throws:
ParseException
-
TriplesTemplate
public final void TriplesTemplate(TripleCollector acc) throws ParseException
- Throws:
ParseException
-
GroupGraphPattern
public final Element GroupGraphPattern() throws ParseException
- Throws:
ParseException
-
GroupGraphPatternSub
public final Element GroupGraphPatternSub() throws ParseException
- Throws:
ParseException
-
TriplesBlock
public final Element TriplesBlock(ElementPathBlock acc) throws ParseException
- Throws:
ParseException
-
GraphPatternNotTriples
public final Element GraphPatternNotTriples() throws ParseException
- Throws:
ParseException
-
OptionalGraphPattern
public final Element OptionalGraphPattern() throws ParseException
- Throws:
ParseException
-
GraphGraphPattern
public final Element GraphGraphPattern() throws ParseException
- Throws:
ParseException
-
ServiceGraphPattern
public final Element ServiceGraphPattern() throws ParseException
- Throws:
ParseException
-
Bind
public final Element Bind() throws ParseException
- Throws:
ParseException
-
InlineData
public final Element InlineData() throws ParseException
- Throws:
ParseException
-
DataBlock
public final void DataBlock() throws ParseException
- Throws:
ParseException
-
InlineDataOneVar
public final void InlineDataOneVar() throws ParseException
- Throws:
ParseException
-
InlineDataFull
public final void InlineDataFull() throws ParseException
- Throws:
ParseException
-
DataBlockValue
public final Node DataBlockValue() throws ParseException
- Throws:
ParseException
-
MinusGraphPattern
public final Element MinusGraphPattern() throws ParseException
- Throws:
ParseException
-
GroupOrUnionGraphPattern
public final Element GroupOrUnionGraphPattern() throws ParseException
- Throws:
ParseException
-
Filter
public final Element Filter() throws ParseException
- Throws:
ParseException
-
Constraint
public final Expr Constraint() throws ParseException
- Throws:
ParseException
-
FunctionCall
public final Expr FunctionCall() throws ParseException
- Throws:
ParseException
-
ArgList
public final ExprList ArgList() throws ParseException
- Throws:
ParseException
-
ConstructTemplate
public final Template ConstructTemplate() throws ParseException
- Throws:
ParseException
-
ExpressionList
public final ExprList ExpressionList() throws ParseException
- Throws:
ParseException
-
ConstructTriples
public final void ConstructTriples(TripleCollector acc) throws ParseException
- Throws:
ParseException
-
TriplesSameSubject
public final void TriplesSameSubject(TripleCollector acc) throws ParseException
- Throws:
ParseException
-
PropertyList
public final void PropertyList(Node s, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
PropertyListNotEmpty
public final void PropertyListNotEmpty(Node s, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
Verb
public final Node Verb() throws ParseException
- Throws:
ParseException
-
ObjectList
public final void ObjectList(Node s, Node p, Path path, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
Object
public final void Object(Node s, Node p, Path path, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
ListNode
public final Node_List ListNode() throws ParseException
- Throws:
ParseException
-
TriplesSameSubjectPath
public final void TriplesSameSubjectPath(TripleCollector acc) throws ParseException
- Throws:
ParseException
-
PropertyListPath
public final void PropertyListPath(Node s, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
PropertyListPathNotEmpty
public final void PropertyListPathNotEmpty(Node s, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
VerbPath
public final Path VerbPath() throws ParseException
- Throws:
ParseException
-
VerbSimple
public final Node VerbSimple() throws ParseException
- Throws:
ParseException
-
ObjectListPath
public final void ObjectListPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
ObjectPath
public final void ObjectPath(Node s, Node p, Path path, TripleCollector acc) throws ParseException
- Throws:
ParseException
-
Path
public final Path Path() throws ParseException
- Throws:
ParseException
-
PathAlternative
public final Path PathAlternative() throws ParseException
- Throws:
ParseException
-
PathSequence
public final Path PathSequence() throws ParseException
- Throws:
ParseException
-
PathElt
public final Path PathElt() throws ParseException
- Throws:
ParseException
-
PathEltOrInverse
public final Path PathEltOrInverse() throws ParseException
- Throws:
ParseException
-
PathMod
public final Path PathMod(Path p) throws ParseException
- Throws:
ParseException
-
PathPrimary
public final Path PathPrimary() throws ParseException
- Throws:
ParseException
-
PathNegatedPropertySet
public final Path PathNegatedPropertySet() throws ParseException
- Throws:
ParseException
-
PathOneInPropertySet
public final P_Path0 PathOneInPropertySet() throws ParseException
- Throws:
ParseException
-
Integer
public final long Integer() throws ParseException
- Throws:
ParseException
-
TriplesNode
public final Node TriplesNode(TripleCollectorMark acc) throws ParseException
- Throws:
ParseException
-
BlankNodePropertyList
public final Node BlankNodePropertyList(TripleCollector acc) throws ParseException
- Throws:
ParseException
-
TriplesNodePath
public final Node TriplesNodePath(TripleCollectorMark acc) throws ParseException
- Throws:
ParseException
-
BlankNodePropertyListPath
public final Node BlankNodePropertyListPath(TripleCollector acc) throws ParseException
- Throws:
ParseException
-
Collection
public final Node Collection(TripleCollectorMark acc) throws ParseException
- Throws:
ParseException
-
CollectionPath
public final Node CollectionPath(TripleCollectorMark acc) throws ParseException
- Throws:
ParseException
-
GraphNode
public final Node GraphNode(TripleCollectorMark acc) throws ParseException
- Throws:
ParseException
-
GraphNodePath
public final Node GraphNodePath(TripleCollectorMark acc) throws ParseException
- Throws:
ParseException
-
VarOrXTerm
public final Node VarOrXTerm() throws ParseException
- Throws:
ParseException
-
VarOrXIri
public final Node VarOrXIri() throws ParseException
- Throws:
ParseException
-
Var
public final Var Var() throws ParseException
- Throws:
ParseException
-
VarOrXExpr
public final Node VarOrXExpr() throws ParseException
- Throws:
ParseException
-
XNode
public final Node XNode() throws ParseException
- Throws:
ParseException
-
XExpr
public final Node XExpr() throws ParseException
- Throws:
ParseException
-
XTerm
public final Node XTerm() throws ParseException
- Throws:
ParseException
-
Expression
public final Expr Expression() throws ParseException
- Throws:
ParseException
-
ConditionalOrExpression
public final Expr ConditionalOrExpression() throws ParseException
- Throws:
ParseException
-
ConditionalAndExpression
public final Expr ConditionalAndExpression() throws ParseException
- Throws:
ParseException
-
ValueLogical
public final Expr ValueLogical() throws ParseException
- Throws:
ParseException
-
RelationalExpression
public final Expr RelationalExpression() throws ParseException
- Throws:
ParseException
-
NumericExpression
public final Expr NumericExpression() throws ParseException
- Throws:
ParseException
-
AdditiveExpression
public final Expr AdditiveExpression() throws ParseException
- Throws:
ParseException
-
MultiplicativeExpression
public final Expr MultiplicativeExpression() throws ParseException
- Throws:
ParseException
-
UnaryExpression
public final Expr UnaryExpression() throws ParseException
- Throws:
ParseException
-
PrimaryExpression
public final Expr PrimaryExpression() throws ParseException
- Throws:
ParseException
-
BrackettedExpression
public final Expr BrackettedExpression() throws ParseException
- Throws:
ParseException
-
BuiltInCall
public final Expr BuiltInCall() throws ParseException
- Throws:
ParseException
-
RegexExpression
public final Expr RegexExpression() throws ParseException
- Throws:
ParseException
-
SubstringExpression
public final Expr SubstringExpression() throws ParseException
- Throws:
ParseException
-
StrReplaceExpression
public final Expr StrReplaceExpression() throws ParseException
- Throws:
ParseException
-
ExistsFunc
public final Expr ExistsFunc() throws ParseException
- Throws:
ParseException
-
NotExistsFunc
public final Expr NotExistsFunc() throws ParseException
- Throws:
ParseException
-
Aggregate
public final Expr Aggregate() throws ParseException
- Throws:
ParseException
-
XiriOrFunction
public final Expr XiriOrFunction() throws ParseException
- Throws:
ParseException
-
RDFLiteral
public final Node RDFLiteral() throws ParseException
- Throws:
ParseException
-
XRDFLiteral
public final Node XRDFLiteral() throws ParseException
- Throws:
ParseException
-
NumericLiteral
public final Node NumericLiteral() throws ParseException
- Throws:
ParseException
-
NumericLiteralUnsigned
public final Node NumericLiteralUnsigned() throws ParseException
- Throws:
ParseException
-
NumericLiteralPositive
public final Node NumericLiteralPositive() throws ParseException
- Throws:
ParseException
-
NumericLiteralNegative
public final Node NumericLiteralNegative() throws ParseException
- Throws:
ParseException
-
BooleanLiteral
public final Node BooleanLiteral() throws ParseException
- Throws:
ParseException
-
String
public final String String() throws ParseException
- Throws:
ParseException
-
XString
public final void XString(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal1
public final void XString_Literal1(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal1_Sub
public final void XString_Literal1_Sub(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal2
public final void XString_Literal2(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal2_Sub
public final void XString_Literal2_Sub(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal_Long1
public final void XString_Literal_Long1(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal_Long1_Sub
public final void XString_Literal_Long1_Sub(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal_Long2
public final void XString_Literal_Long2(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
XString_Literal_Long2_Sub
public final void XString_Literal_Long2_Sub(Node_ExtendedLiteral.Builder n) throws ParseException
- Throws:
ParseException
-
iri
public final String iri() throws ParseException
- Throws:
ParseException
-
PrefixedName
public final String PrefixedName() throws ParseException
- Throws:
ParseException
-
BlankNode
public final Node BlankNode() throws ParseException
- Throws:
ParseException
-
IRIREF
public final String IRIREF() throws ParseException
- Throws:
ParseException
-
Xiri
public final Node Xiri() throws ParseException
- Throws:
ParseException
-
XIRIREF_Sub
public final void XIRIREF_Sub(Node_ExtendedURI.Builder iri) throws ParseException
- Throws:
ParseException
-
ReInit
public void ReInit(InputStream stream)
Reinitialise- Parameters:
stream
- input stream
-
ReInit
public void ReInit(InputStream stream, Charset encoding)
Reinitialise- Parameters:
stream
- input streamencoding
- charset to be used
-
ReInit
public void ReInit(Reader stream)
Reinitialise- Parameters:
stream
- char stream
-
ReInit
public void ReInit(SPARQLExtParserTokenManager tm)
Reinitialise- Parameters:
tm
- Token manager to use
-
getNextToken
public final Token getNextToken()
- Returns:
- the next Token.
-
getToken
public final Token getToken(int index)
- Parameters:
index
- index to be retrieved- Returns:
- the specific Token.
-
generateParseException
public ParseException generateParseException()
Generate ParseException.- Returns:
- new Exception object. Never
null
-
trace_enabled
public final boolean trace_enabled()
- Returns:
- Always
false
.
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
-