01: /* Generated By:JJTree: Do not edit this line. ASTString.java */
02:
03: package org.openrdf.query.parser.sparql.ast;
04:
05: public class ASTString extends SimpleNode {
06:
07: private String value;
08:
09: public ASTString(int id) {
10: super (id);
11: }
12:
13: public ASTString(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 getValue() {
24: return value;
25: }
26:
27: public void setValue(String value) {
28: this .value = value;
29: }
30:
31: @Override
32: public String toString() {
33: return super .toString() + " (" + value + ")";
34: }
35: }
|