org.apache.xalan.xsltc.dom
Class AnyNodeCounter
java.lang.Object
org.apache.xalan.xsltc.dom.NodeCounter
org.apache.xalan.xsltc.dom.AnyNodeCounter
- All Implemented Interfaces:
- Axis, Axis
- public abstract class AnyNodeCounter
- extends NodeCounter
- Author:
- Jacek Ambroziak, Santiago Pericas-Geertsen
Fields inherited from interface org.apache.xalan.xsltc.dom.Axis |
isReverse |
Fields inherited from interface org.apache.xml.dtm.Axis |
ALL, ALLFROMNODE, ANCESTOR, ANCESTORORSELF, ATTRIBUTE, CHILD, DESCENDANT, DESCENDANTORSELF, DESCENDANTSFROMROOT, DESCENDANTSORSELFFROMROOT, FILTEREDLIST, FOLLOWING, FOLLOWINGSIBLING, names, NAMESPACE, NAMESPACEDECLS, PARENT, PRECEDING, PRECEDINGANDANCESTOR, PRECEDINGSIBLING, ROOT, SELF |
AnyNodeCounter
public AnyNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator)
setStartNode
public NodeCounter setStartNode(int node)
- Description copied from class:
NodeCounter
- Set the start node for this counter. The same NodeCounter
object can be used multiple times by resetting the starting node.
- Specified by:
setStartNode
in class NodeCounter
getCounter
public String getCounter()
- Description copied from class:
NodeCounter
- Returns the position of node according to the level and
the from and count patterns.
- Specified by:
getCounter
in class NodeCounter
getDefaultNodeCounter
public static NodeCounter getDefaultNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator)
Copyright ? 2004 Apache XML Project. All Rights Reserved.