Package org.apache.xalan.xsltc.dom
Class SingleNodeCounter
java.lang.Object
org.apache.xalan.xsltc.dom.NodeCounter
org.apache.xalan.xsltc.dom.SingleNodeCounter
- Author:
- Jacek Ambroziak, Santiago Pericas-Geertsen
-
Field Summary
Fields inherited from class org.apache.xalan.xsltc.dom.NodeCounter
_document, _iterator, _translet, END -
Constructor Summary
ConstructorsConstructorDescriptionSingleNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator) -
Method Summary
Modifier and TypeMethodDescriptionReturns the position of node according to the level and the from and count patterns.static NodeCountergetDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator) 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 Details
-
SingleNodeCounter
-
-
Method Details
-
setStartNode
Description copied from class:NodeCounterSet the start node for this counter. The same NodeCounter object can be used multiple times by resetting the starting node.- Specified by:
setStartNodein classNodeCounter
-
getCounter
Description copied from class:NodeCounterReturns the position of node according to the level and the from and count patterns.- Specified by:
getCounterin classNodeCounter
-
getDefaultNodeCounter
public static NodeCounter getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
-