org.modeshape.jcr.xpath
Class XPath.Literal

java.lang.Object
  extended by org.modeshape.jcr.xpath.XPath.Component
      extended by org.modeshape.jcr.xpath.XPath.Literal
Enclosing class:
XPath

public static class XPath.Literal
extends XPath.Component


Constructor Summary
XPath.Literal(String value)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getValue()
           
 int getValueAsInteger()
           
 boolean isInteger()
           
 String toString()
          
 
Methods inherited from class org.modeshape.jcr.xpath.XPath.Component
collapse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPath.Literal

public XPath.Literal(String value)
Method Detail

getValue

public String getValue()
Returns:
value

isInteger

public boolean isInteger()

getValueAsInteger

public int getValueAsInteger()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.