com.japisoft.xpath
Class XPathParserVal

java.lang.Object
  |
  +--com.japisoft.xpath.XPathParserVal

public class XPathParserVal
extends java.lang.Object

BYACC/J Semantic Value for parser: XPathParser This class provides some of the functionality of the yacc/C 'union' directive


Field Summary
 double dval
          double value of this 'union'
 int ival
          integer value of this 'union'
 java.lang.Object obj
          object value of this 'union'
 java.lang.String sval
          string value of this 'union'
 
Constructor Summary
XPathParserVal(double val)
          Initialize me as a double
XPathParserVal(int val)
          Initialize me as an int
XPathParserVal(java.lang.Object val)
          Initialize me as an Object
XPathParserVal(java.lang.String val)
          Initialize me as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ival

public int ival
integer value of this 'union'


dval

public double dval
double value of this 'union'


sval

public java.lang.String sval
string value of this 'union'


obj

public java.lang.Object obj
object value of this 'union'

Constructor Detail

XPathParserVal

public XPathParserVal(int val)
Initialize me as an int


XPathParserVal

public XPathParserVal(double val)
Initialize me as a double


XPathParserVal

public XPathParserVal(java.lang.String val)
Initialize me as a string


XPathParserVal

public XPathParserVal(java.lang.Object val)
Initialize me as an Object