org.ucl.xpath.ast
Class DecimalLiteral

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.PrimaryExpr
          extended byorg.ucl.xpath.ast.Literal
              extended byorg.ucl.xpath.ast.NumericLiteral
                  extended byorg.ucl.xpath.ast.DecimalLiteral

public class DecimalLiteral
extends NumericLiteral

The value of a numeric literal containing "." but no e or E character is an atomic value of type xs:decimal


Constructor Summary
DecimalLiteral(double value)
          Constructor for DecimalLiteral
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 XSDecimal value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecimalLiteral

public DecimalLiteral(double value)
Constructor for DecimalLiteral

Parameters:
value - double value
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.

value

public XSDecimal value()
Returns:
xs:decimal value