Class ASTPrefixDecl
- java.lang.Object
-
- org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
-
- org.eclipse.rdf4j.query.parser.sparql.ast.ASTPrefixDecl
-
- All Implemented Interfaces:
Node
public class ASTPrefixDecl extends SimpleNode
-
-
Constructor Summary
Constructors Constructor Description ASTPrefixDecl(int id)ASTPrefixDecl(SyntaxTreeBuilder p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTIRIgetIRI()java.lang.StringgetPrefix()java.lang.ObjectjjtAccept(SyntaxTreeBuilderVisitor visitor, java.lang.Object data)Accept the visitor.voidsetPrefix(java.lang.String prefix)java.lang.StringtoString()-
Methods inherited from class org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
childrenAccept, dump, getId, isScopeChange, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, jjtSetValue, setScopeChange, toString
-
-
-
-
Constructor Detail
-
ASTPrefixDecl
public ASTPrefixDecl(int id)
-
ASTPrefixDecl
public ASTPrefixDecl(SyntaxTreeBuilder p, int id)
-
-
Method Detail
-
jjtAccept
public java.lang.Object jjtAccept(SyntaxTreeBuilderVisitor visitor, java.lang.Object data) throws VisitorException
Description copied from class:SimpleNodeAccept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Throws:
VisitorException
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public void setPrefix(java.lang.String prefix)
-
getIRI
public ASTIRI getIRI()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classSimpleNode
-
-