org.apache.xalan.xsltc.dom
Class SingleNodeCounter.DefaultSingleNodeCounter

java.lang.Object
  extended by org.apache.xalan.xsltc.dom.NodeCounter
      extended by org.apache.xalan.xsltc.dom.SingleNodeCounter
          extended by org.apache.xalan.xsltc.dom.SingleNodeCounter.DefaultSingleNodeCounter
Enclosing class:
SingleNodeCounter

static class SingleNodeCounter.DefaultSingleNodeCounter
extends SingleNodeCounter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.xalan.xsltc.dom.SingleNodeCounter
SingleNodeCounter.DefaultSingleNodeCounter
 
Field Summary
 
Fields inherited from class org.apache.xalan.xsltc.dom.SingleNodeCounter
_countSiblings
 
Fields inherited from class org.apache.xalan.xsltc.dom.NodeCounter
_document, _format, _groupSep, _groupSize, _iterator, _lang, _letterValue, _node, _nodeType, _translet, _value, END
 
Constructor Summary
SingleNodeCounter.DefaultSingleNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
           
 
Method Summary
 java.lang.String getCounter()
          Returns the position of node according to the level and the from and count patterns.
 NodeCounter setStartNode(int node)
          Set the start node for this counter.
 
Methods inherited from class org.apache.xalan.xsltc.dom.SingleNodeCounter
getDefaultNodeCounter
 
Methods inherited from class org.apache.xalan.xsltc.dom.NodeCounter
formatNumbers, formatNumbers, getCounter, matchesCount, matchesFrom, setDefaultFormatting, setFormatting, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleNodeCounter.DefaultSingleNodeCounter

public SingleNodeCounter.DefaultSingleNodeCounter(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.

Overrides:
setStartNode in class SingleNodeCounter

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.

Overrides:
getCounter in class SingleNodeCounter