org.modeshape.jcr.xpath
Class XPath.NodeComparison

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

public static class XPath.NodeComparison
extends XPath.BinaryComponent


Constructor Summary
XPath.NodeComparison(XPath.Component left, XPath.NodeComparisonOperator operator, XPath.Component right)
           
 
Method Summary
 XPath.Component collapse()
          Return the collapsable form
 boolean equals(Object obj)
          
 String toString()
          
 
Methods inherited from class org.modeshape.jcr.xpath.XPath.BinaryComponent
getLeft, getRight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPath.NodeComparison

public XPath.NodeComparison(XPath.Component left,
                            XPath.NodeComparisonOperator operator,
                            XPath.Component right)
Method Detail

collapse

public XPath.Component collapse()
Return the collapsable form

Overrides:
collapse in class XPath.Component
Returns:
the collapsed form of th is component; never null and possibly the same as this
See Also:
XPath.Component.collapse()

toString

public String toString()

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

equals

public boolean equals(Object obj)

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


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