KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > aop > annotation > ast > ASTString


1 /* Generated By:JJTree: Do not edit this line. ASTString.java */
2
3 package org.jboss.aop.annotation.ast;
4
5 public class ASTString extends ASTMemberValue {
6   public ASTString(int id) {
7     super(id);
8   }
9
10   public ASTString(AnnotationParser p, int id) {
11     super(p, id);
12   }
13
14
15   /** Accept the visitor. **/
16   public Object JavaDoc jjtAccept(AnnotationParserVisitor visitor, Object JavaDoc data) {
17     return visitor.visit(this, data);
18   }
19
20    private String JavaDoc value;
21
22    public void setValue(String JavaDoc val)
23    {
24       value = val.substring(1, val.length() - 1);
25    }
26
27    public String JavaDoc getValue() { return value; }
28 }
29
Popular Tags