org.ucl.xpath.ast
Class DoubleLiteral

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.DoubleLiteral

public class DoubleLiteral
extends NumericLiteral

The value of a numeric literal containing an e or E character is an atomic value of type xs:double


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

Constructor Detail

DoubleLiteral

public DoubleLiteral(double value)
Constructor for Doubleiteral

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 XSDouble value()
Returns:
xs:double value