com.hp.hpl.jena.sparql.lang.sparql_10
Class SPARQLParser10

java.lang.Object
  extended by com.hp.hpl.jena.sparql.lang.ParserBase
      extended by com.hp.hpl.jena.sparql.lang.ParserQueryBase
          extended by com.hp.hpl.jena.sparql.lang.sparql_10.SPARQLParser10
All Implemented Interfaces:
SPARQLParser10Constants

public class SPARQLParser10
extends ParserQueryBase
implements SPARQLParser10Constants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 SPARQLParser10TokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.hp.hpl.jena.sparql.lang.sparql_10.SPARQLParser10Constants
A2Z, A2ZN, AND, ANON, ASC, ASK, AT, BANG, BASE, BLANK_NODE_LABEL, BOUND, BY, COLON, COMMA, CONSTRUCT, DATATYPE, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DESC, DESCRIBE, DIGITS, DISTINCT, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, DTYPE, ECHAR, EOF, EQ, EXPONENT, FALSE, FILTER, FROM, GE, GRAPH, GT, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_URI, KW_A, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LE, LIMIT, LPAREN, LT, MINUS, NAMED, NE, NIL, OFFSET, OPTIONAL, ORDER, PLUS, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, REDUCED, REGEX, RPAREN, SAME_TERM, SC_AND, SC_OR, SELECT, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, STAR, STR, STRDT, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, STRLANG, TILDE, tokenImage, TRUE, UNION, UNKNOWN, VAR1, VAR2, VARNAME, WHERE, WS
 
Constructor Summary
SPARQLParser10(InputStream stream)
          Constructor with InputStream.
SPARQLParser10(InputStream stream, String encoding)
          Constructor with InputStream and supplied encoding
SPARQLParser10(Reader stream)
          Constructor.
SPARQLParser10(SPARQLParser10TokenManager tm)
          Constructor with generated Token Manager.
 
Method Summary
 Expr AdditiveExpression()
           
 ExprList ArgList()
           
 void AskQuery()
           
 void BaseDecl()
           
 com.hp.hpl.jena.graph.Node BlankNode()
           
 com.hp.hpl.jena.graph.Node BlankNodePropertyList(TripleCollector acc)
           
 com.hp.hpl.jena.graph.Node BooleanLiteral()
           
 Expr BrackettedExpression()
           
 Expr BuiltInCall()
           
 com.hp.hpl.jena.graph.Node Collection(TripleCollector acc)
           
 Expr ConditionalAndExpression()
           
 Expr ConditionalOrExpression()
           
 Expr Constraint()
           
 void ConstructQuery()
           
 Template ConstructTemplate()
           
 void ConstructTriples(TripleCollector acc)
           
 void DatasetClause()
           
 void DefaultGraphClause()
           
 void DescribeQuery()
           
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 Expr Expression()
           
 Element Filter()
           
 Expr FunctionCall()
           
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 Element GraphGraphPattern()
           
 com.hp.hpl.jena.graph.Node GraphNode(TripleCollector acc)
           
 Element GraphPatternNotTriples()
           
 com.hp.hpl.jena.graph.Node GraphTerm()
           
 Element GroupGraphPattern()
           
 Element GroupGraphPatternSub()
           
 Element GroupOrUnionGraphPattern()
           
 String IRI_REF()
           
 String IRIref()
           
 Expr IRIrefOrFunction()
           
 void LimitClause()
           
 void LimitOffsetClauses()
           
 Expr MultiplicativeExpression()
           
 void NamedGraphClause()
           
 Expr NumericExpression()
           
 com.hp.hpl.jena.graph.Node NumericLiteral()
           
 com.hp.hpl.jena.graph.Node NumericLiteralNegative()
           
 com.hp.hpl.jena.graph.Node NumericLiteralPositive()
           
 com.hp.hpl.jena.graph.Node NumericLiteralUnsigned()
           
 void Object(com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, Path path, TripleCollector acc)
           
 void ObjectList(com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, Path path, TripleCollector acc)
           
 void OffsetClause()
           
 Element OptionalGraphPattern()
           
 void OrderClause()
           
 void OrderCondition()
           
 ExprList ParamList()
           
 void PrefixDecl()
           
 String PrefixedName()
           
 Expr PrimaryExpression()
           
 void Project()
           
 void Prologue()
           
 void PropertyList(com.hp.hpl.jena.graph.Node s, TripleCollector acc)
           
 void PropertyListNotEmpty(com.hp.hpl.jena.graph.Node s, TripleCollector acc)
           
 void Query()
           
 void QueryUnit()
           
 com.hp.hpl.jena.graph.Node RDFLiteral()
           
 Expr RegexExpression()
           
 void ReInit(InputStream stream)
          Reinitialise.
 void ReInit(InputStream stream, String encoding)
          Reinitialise.
 void ReInit(Reader stream)
          Reinitialise.
 void ReInit(SPARQLParser10TokenManager tm)
          Reinitialise.
 Expr RelationalExpression()
           
 void SelectQuery()
           
 void SolutionModifier()
           
 String SourceSelector()
           
 String String()
           
 void SubSelect()
           
 Element TriplesBlock(ElementTriplesBlock acc)
           
 com.hp.hpl.jena.graph.Node TriplesNode(TripleCollector acc)
           
 void TriplesSameSubject(TripleCollector acc)
           
 Expr UnaryExpression()
           
 Expr ValueLogical()
           
 Var Var()
           
 com.hp.hpl.jena.graph.Node VarOrIRIref()
           
 com.hp.hpl.jena.graph.Node VarOrTerm()
           
 com.hp.hpl.jena.graph.Node Verb()
           
 void WhereClause()
           
 
Methods inherited from class com.hp.hpl.jena.sparql.lang.ParserQueryBase
getQuery, setQuery, setUpdateRequest
 
Methods inherited from class com.hp.hpl.jena.sparql.lang.ParserBase
getPrologue, hex, setPrologue, stripChars, throwParseException, unescape, unescapePName, unescapeStr, unescapeStr
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public SPARQLParser10TokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

SPARQLParser10

public SPARQLParser10(InputStream stream)
Constructor with InputStream.


SPARQLParser10

public SPARQLParser10(InputStream stream,
                      String encoding)
Constructor with InputStream and supplied encoding


SPARQLParser10

public SPARQLParser10(Reader stream)
Constructor.


SPARQLParser10

public SPARQLParser10(SPARQLParser10TokenManager tm)
Constructor with generated Token Manager.

Method Detail

QueryUnit

public final void QueryUnit()
                     throws ParseException
Throws:
ParseException

Query

public final void Query()
                 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

SubSelect

public final void SubSelect()
                     throws ParseException
Throws:
ParseException

Project

public final void Project()
                   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

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

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

GroupGraphPattern

public final Element GroupGraphPattern()
                                throws ParseException
Throws:
ParseException

GroupGraphPatternSub

public final Element GroupGraphPatternSub()
                                   throws ParseException
Throws:
ParseException

TriplesBlock

public final Element TriplesBlock(ElementTriplesBlock 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

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

ParamList

public final ExprList ParamList()
                         throws ParseException
Throws:
ParseException

ConstructTemplate

public final Template ConstructTemplate()
                                 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

PropertyListNotEmpty

public final void PropertyListNotEmpty(com.hp.hpl.jena.graph.Node s,
                                       TripleCollector acc)
                                throws ParseException
Throws:
ParseException

PropertyList

public final void PropertyList(com.hp.hpl.jena.graph.Node s,
                               TripleCollector acc)
                        throws ParseException
Throws:
ParseException

ObjectList

public final void ObjectList(com.hp.hpl.jena.graph.Node s,
                             com.hp.hpl.jena.graph.Node p,
                             Path path,
                             TripleCollector acc)
                      throws ParseException
Throws:
ParseException

Object

public final void Object(com.hp.hpl.jena.graph.Node s,
                         com.hp.hpl.jena.graph.Node p,
                         Path path,
                         TripleCollector acc)
                  throws ParseException
Throws:
ParseException

Verb

public final com.hp.hpl.jena.graph.Node Verb()
                                      throws ParseException
Throws:
ParseException

TriplesNode

public final com.hp.hpl.jena.graph.Node TriplesNode(TripleCollector acc)
                                             throws ParseException
Throws:
ParseException

BlankNodePropertyList

public final com.hp.hpl.jena.graph.Node BlankNodePropertyList(TripleCollector acc)
                                                       throws ParseException
Throws:
ParseException

Collection

public final com.hp.hpl.jena.graph.Node Collection(TripleCollector acc)
                                            throws ParseException
Throws:
ParseException

GraphNode

public final com.hp.hpl.jena.graph.Node GraphNode(TripleCollector acc)
                                           throws ParseException
Throws:
ParseException

VarOrTerm

public final com.hp.hpl.jena.graph.Node VarOrTerm()
                                           throws ParseException
Throws:
ParseException

VarOrIRIref

public final com.hp.hpl.jena.graph.Node VarOrIRIref()
                                             throws ParseException
Throws:
ParseException

Var

public final Var Var()
              throws ParseException
Throws:
ParseException

GraphTerm

public final com.hp.hpl.jena.graph.Node GraphTerm()
                                           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

IRIrefOrFunction

public final Expr IRIrefOrFunction()
                            throws ParseException
Throws:
ParseException

RDFLiteral

public final com.hp.hpl.jena.graph.Node RDFLiteral()
                                            throws ParseException
Throws:
ParseException

NumericLiteral

public final com.hp.hpl.jena.graph.Node NumericLiteral()
                                                throws ParseException
Throws:
ParseException

NumericLiteralUnsigned

public final com.hp.hpl.jena.graph.Node NumericLiteralUnsigned()
                                                        throws ParseException
Throws:
ParseException

NumericLiteralPositive

public final com.hp.hpl.jena.graph.Node NumericLiteralPositive()
                                                        throws ParseException
Throws:
ParseException

NumericLiteralNegative

public final com.hp.hpl.jena.graph.Node NumericLiteralNegative()
                                                        throws ParseException
Throws:
ParseException

BooleanLiteral

public final com.hp.hpl.jena.graph.Node BooleanLiteral()
                                                throws ParseException
Throws:
ParseException

String

public final String String()
                    throws ParseException
Throws:
ParseException

IRIref

public final String IRIref()
                    throws ParseException
Throws:
ParseException

PrefixedName

public final String PrefixedName()
                          throws ParseException
Throws:
ParseException

BlankNode

public final com.hp.hpl.jena.graph.Node BlankNode()
                                           throws ParseException
Throws:
ParseException

IRI_REF

public final String IRI_REF()
                     throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)
Reinitialise.


ReInit

public void ReInit(InputStream stream,
                   String encoding)
Reinitialise.


ReInit

public void ReInit(Reader stream)
Reinitialise.


ReInit

public void ReInit(SPARQLParser10TokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Licenced under the Apache License, Version 2.0