01: /* Generated By:JJTree: Do not edit this line. ASTBaseDecl.java */
02:
03: package org.openrdf.query.parser.sparql.ast;
04:
05: public class ASTBaseDecl extends SimpleNode {
06:
07: private String iri;
08:
09: public ASTBaseDecl(int id) {
10: super (id);
11: }
12:
13: public ASTBaseDecl(SyntaxTreeBuilder p, int id) {
14: super (p, id);
15: }
16:
17: @Override
18: public Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
19: Object data) throws VisitorException {
20: return visitor.visit(this , data);
21: }
22:
23: public String getIRI() {
24: return iri;
25: }
26:
27: public void setIRI(String iri) {
28: this .iri = iri;
29: }
30:
31: @Override
32: public String toString() {
33: return super .toString() + " (" + iri + ")";
34: }
35: }
|