org.modeshape.jcr.xpath
Class XPath.ElementTest

java.lang.Object
  extended by org.modeshape.jcr.xpath.XPath.Component
      extended by org.modeshape.jcr.xpath.XPath.NodeTest
          extended by org.modeshape.jcr.xpath.XPath.KindTest
              extended by org.modeshape.jcr.xpath.XPath.ElementTest
Enclosing class:
XPath

public static class XPath.ElementTest
extends XPath.KindTest


Constructor Summary
XPath.ElementTest(XPath.NameTest elementNameOrWildcard, XPath.NameTest typeName)
           
 
Method Summary
 boolean equals(Object obj)
          
 XPath.NameTest getElementName()
           
 XPath.NameTest getTypeName()
           
 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.ElementTest

public XPath.ElementTest(XPath.NameTest elementNameOrWildcard,
                         XPath.NameTest typeName)
Method Detail

getElementName

public XPath.NameTest getElementName()
Returns:
the element name, which may be a wilcard

getTypeName

public XPath.NameTest getTypeName()
Returns:
typeName

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-2011 JBoss, a division of Red Hat. All Rights Reserved.