| java.lang.Object com.caucho.xpath.pattern.AbstractPattern com.caucho.xpath.pattern.Axis com.caucho.xpath.pattern.FromDescendants
FromDescendants | public class FromDescendants extends Axis (Code) | | Matches any descendant.
|
count | public int count(Node node, Env env, AbstractPattern pattern) throws XPathException(Code) | | Counts the descendant nodes matching the pattern.
Parameters: node - the starting node Parameters: env - the xpath environment Parameters: pattern - the axis match pattern the count of nodes |
firstNode | public Node firstNode(Node node, ExprEnvironment env)(Code) | | Returns the first node in the selection order.
Parameters: node - the current node the first node |
isStrictlyAscending | public boolean isStrictlyAscending()(Code) | | Returns true if the pattern is strictly ascending.
|
lastNode | public Node lastNode(Node node)(Code) | | Returns the last node in the selection order.
Parameters: node - the current node the last node |
match | public boolean match(Node node, ExprEnvironment env) throws XPathException(Code) | | Matches the current node if it can find a parent node matching the
parent pattern.
Parameters: node - the node to test Parameters: env - the variable environment true if it matches. |
nextNode | public Node nextNode(Node node, Node lastNode)(Code) | | Returns the next node in the selection order.
Parameters: node - the current node Parameters: ndoe - the last node the next node |
position | public int position(Node node, Env env, AbstractPattern pattern) throws XPathException(Code) | | Counts matching nodes between the axis-context and the node
Parameters: node - the starting node Parameters: env - the xpath environment Parameters: pattern - the axis match pattern the index of the position |
Methods inherited from com.caucho.xpath.pattern.AbstractPattern | public AbstractPattern copyAxis()(Code)(Java Doc) public AbstractPattern copyPosition()(Code)(Java Doc) public int count(Node node, Env env, AbstractPattern pattern) throws XPathException(Code)(Java Doc) public NodeIterator createNodeIterator(Node node, ExprEnvironment env, AbstractPattern pattern) throws XPathException(Code)(Java Doc) public Node findAny(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public Node firstNode(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) public AbstractPattern getParent()(Code)(Java Doc) protected String getPrefix()(Code)(Java Doc) public double getPriority()(Code)(Java Doc) public boolean isAscending()(Code)(Java Doc) boolean isSingleLevel()(Code)(Java Doc) boolean isSingleSelect()(Code)(Java Doc) public boolean isStrictlyAscending()(Code)(Java Doc) public boolean isUnique()(Code)(Java Doc) public Node lastNode(Node node)(Code)(Java Doc) abstract public boolean match(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public Node nextNode(Node node, Node last) throws XPathException(Code)(Java Doc) public int position(Node node, Env env, AbstractPattern pattern) throws XPathException(Code)(Java Doc) public NodeIterator select(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public NodeIterator selectUnique(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc) public String toPatternString()(Code)(Java Doc)
|
|
|