org.openrdf.query.parser.serql.ast
Class ASTOptPathExpr
java.lang.Object
org.openrdf.query.parser.serql.ast.SimpleNode
org.openrdf.query.parser.serql.ast.ASTPathExpr
org.openrdf.query.parser.serql.ast.ASTOptPathExpr
- All Implemented Interfaces:
- Node
public class ASTOptPathExpr
- extends ASTPathExpr
| Methods inherited from class org.openrdf.query.parser.serql.ast.SimpleNode |
childrenAccept, dump, dump, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, toString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTOptPathExpr
public ASTOptPathExpr(int id)
ASTOptPathExpr
public ASTOptPathExpr(SyntaxTreeBuilder p,
int id)
jjtAccept
public java.lang.Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
java.lang.Object data)
throws VisitorException
- Description copied from class:
SimpleNode
- Accept the visitor.
- Specified by:
jjtAccept in interface Node- Overrides:
jjtAccept in class SimpleNode
- Throws:
VisitorException
getPathExpr
public ASTPathExpr getPathExpr()
hasConstraint
public boolean hasConstraint()
- Checks if this optional path expression has a constraint.
getWhereClause
public ASTWhere getWhereClause()
- Returns the where clause on the optional path expression, if present.
- Returns:
- The where clause, or null if no where clause was
specified.
Copyright © 2001-2010 Aduna. All Rights Reserved.