1 22 23 24 package org.xquark.xquery.parser; 25 26 import org.xquark.xquery.typing.TypeException; 27 28 29 public class ValueString extends Value implements Cloneable { 30 private static final String RCSRevision = "$Revision: 1.8 $"; 31 private static final String RCSName = "$Name: $"; 32 33 34 38 public void accept(ParserVisitor visitor) throws XQueryException { 39 visitor.visit(this); 40 } 41 42 46 public ValueString( String value, XQueryModule parentModule) throws TypeException, XQueryException { 47 super(value); 48 setParentModule(parentModule); 49 if (parentModule != null && parentModule.getStaticContext().getTypeVisitor() != null) 50 accept(parentModule.getStaticContext().getTypeVisitor()); 51 } 52 53 57 public String getStringValue() { return value; } 58 public Object getObjectValue() { return getStringValue(); } 59 60 } 61 62 63 64 | Popular Tags |