com.bigdata.rdf.sail.sparql.ast.ASTBaseDecl Maven / Gradle / Ivy
/* Generated By:JJTree: Do not edit this line. ASTBaseDecl.java */
package com.bigdata.rdf.sail.sparql.ast;
import com.bigdata.rdf.sail.sparql.ast.SimpleNode;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilder;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilderVisitor;
import com.bigdata.rdf.sail.sparql.ast.VisitorException;
public class ASTBaseDecl extends SimpleNode {
private String iri;
public ASTBaseDecl(int id) {
super(id);
}
public ASTBaseDecl(SyntaxTreeBuilder p, int id) {
super(p, id);
}
@Override
public Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)
throws VisitorException
{
return visitor.visit(this, data);
}
public String getIRI() {
return iri;
}
public void setIRI(String iri) {
this.iri = iri;
}
@Override
public String toString()
{
return super.toString() + " (" + iri + ")";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy