org.modeshape.jcr.xpath
Class XPath.AttributeTest

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.AttributeTest
Enclosing class:
XPath

public static class XPath.AttributeTest
extends XPath.KindTest


Constructor Summary
XPath.AttributeTest(XPath.NameTest attributeNameOrWildcard, XPath.NameTest typeName)
           
 
Method Summary
 boolean equals(Object obj)
          
 XPath.NameTest getAttributeName()
           
 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.AttributeTest

public XPath.AttributeTest(XPath.NameTest attributeNameOrWildcard,
                           XPath.NameTest typeName)
Method Detail

getAttributeName

public XPath.NameTest getAttributeName()
Returns:
the attribute 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-2012 JBoss, a division of Red Hat. All Rights Reserved.