Package org.apache.xalan.xsltc.dom
Class MultipleNodeCounter
- java.lang.Object
-
- org.apache.xalan.xsltc.dom.NodeCounter
-
- org.apache.xalan.xsltc.dom.MultipleNodeCounter
-
public abstract class MultipleNodeCounter extends NodeCounter
- Author:
- Jacek Ambroziak, Santiago Pericas-Geertsen
-
-
Field Summary
-
Fields inherited from class org.apache.xalan.xsltc.dom.NodeCounter
_document, _iterator, _translet, END
-
-
Constructor Summary
Constructors Constructor Description MultipleNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCounter()
Returns the position of node according to the level and the from and count patterns.static NodeCounter
getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
NodeCounter
setStartNode(int node)
Set the start node for this counter.-
Methods inherited from class org.apache.xalan.xsltc.dom.NodeCounter
getCounter, matchesCount, matchesFrom, setDefaultFormatting, setValue
-
-
-
-
Constructor Detail
-
MultipleNodeCounter
public MultipleNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
-
-
Method Detail
-
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 classNodeCounter
-
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 classNodeCounter
-
getDefaultNodeCounter
public static NodeCounter getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
-
-