org.softnetwork.xml.dom.xpath
Class XPathNode
java.lang.Object
org.softnetwork.xml.dom.xpath.XPathNode
- All Implemented Interfaces:
- XPath
public final class XPathNode
- extends java.lang.Object
- Author:
- stephane.manciot@ebiznext.com
Fields inherited from interface org.softnetwork.xml.dom.xpath.XPath |
EMPTY, EMPTY_NODES, XPATH_ALL, XPATH_ATTRIBUTE, XPATH_COND_BEGIN, XPATH_COND_END, XPATH_COUNT_FUNCTION, XPATH_CURRENT, XPATH_EQUALITY, XPATH_LAST_POS_FUNCTION, XPATH_NAME_FUNCTION, XPATH_NOT_COND, XPATH_POS_FUNCTION, XPATH_SEPARATOR, XPATH_TEXT_FUNCTION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getFilters
public org.softnetwork.xml.dom.xpath.XPathFilter[] getFilters()
- Returns:
- Renvoie filters.
selectElements
public org.w3c.dom.Element[] selectElements(org.w3c.dom.Element current)
throws XPathFormatException
- Throws:
XPathFormatException
selectNodes
public org.w3c.dom.Node[] selectNodes(org.w3c.dom.Node current)
throws XPathFormatException
- Throws:
XPathFormatException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getToken
public java.lang.String getToken()
- Returns:
- Renvoie token.
isAttribute
public boolean isAttribute()
- Returns:
- Returns the attribute.
isInequality
public boolean isInequality()
- Returns:
- Returns the inequality.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
getValue
public java.lang.String getValue()
- Returns:
- Returns the value.
isPositionedElement
public boolean isPositionedElement()
- Returns:
- Returns the positionedElement.
getPosition
public int getPosition()
- Returns:
- Returns the position.
isLastElement
public boolean isLastElement()
- Returns:
- Returns the lastElement.
isEquality
public boolean isEquality()
- Returns:
- Returns the equality.
isFilter
protected boolean isFilter()
Copyright © 2005-2007 softnetwork.org. All Rights Reserved.