org.apache.xalan.xsltc.dom
Class SingleNodeCounter
java.lang.Object
org.apache.xalan.xsltc.dom.NodeCounter
org.apache.xalan.xsltc.dom.SingleNodeCounter
- Direct Known Subclasses:
- SingleNodeCounter.DefaultSingleNodeCounter
public abstract class SingleNodeCounter
- extends NodeCounter
Fields inherited from class org.apache.xalan.xsltc.dom.NodeCounter |
_document, _format, _groupSep, _groupSize, _iterator, _lang, _letterValue, _node, _nodeType, _translet, _value, END |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyArray
private static final int[] EmptyArray
_countSiblings
DTMAxisIterator _countSiblings
SingleNodeCounter
public SingleNodeCounter(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 java.lang.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)