Class ASTQueryContainer
- java.lang.Object
-
- org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
-
- org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer
-
- org.eclipse.rdf4j.query.parser.sparql.ast.ASTQueryContainer
-
- All Implemented Interfaces:
Node
public class ASTQueryContainer extends ASTOperationContainer
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
children, id, parent, parser
-
-
Constructor Summary
Constructors Constructor Description ASTQueryContainer(int id)ASTQueryContainer(SyntaxTreeBuilder p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsQuery()ASTQuerygetQuery()StringgetSourceString()ObjectjjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)Accept the visitor.voidsetSourceString(String source)-
Methods inherited from class org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer
getBaseDecl, getOperation, getPrefixDeclList
-
Methods inherited from class org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
childrenAccept, dump, dump, isScopeChange, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, setScopeChange, toString, toString
-
-
-
-
Constructor Detail
-
ASTQueryContainer
public ASTQueryContainer(int id)
-
ASTQueryContainer
public ASTQueryContainer(SyntaxTreeBuilder p, int id)
-
-
Method Detail
-
jjtAccept
public Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data) throws VisitorException
Description copied from interface:NodeAccept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Throws:
VisitorException
-
containsQuery
public boolean containsQuery()
-
getQuery
public ASTQuery getQuery()
-
setSourceString
public void setSourceString(String source)
- Specified by:
setSourceStringin classASTOperationContainer
-
getSourceString
public String getSourceString()
- Specified by:
getSourceStringin classASTOperationContainer
-
-