org.ucl.xpath.ast
Class IntegerLiteral

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

public class IntegerLiteral
extends NumericLiteral

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


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

Constructor Detail

IntegerLiteral

public IntegerLiteral(int value)
Constructor for IntegerLiteral

Parameters:
value - integer 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 XSInteger value()
Returns:
xs:integer value