public abstract class SingleNodeCounter extends NodeCounter
_document, _format, _groupSep, _groupSize, _iterator, _lang, _letterValue, _node, _nodeType, _translet, _value, END
Constructor and Description |
---|
SingleNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
Modifier and Type | Method and Description |
---|---|
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.
|
formatNumbers, formatNumbers, getCounter, matchesCount, matchesFrom, setDefaultFormatting, setFormatting, setValue
public SingleNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
public NodeCounter setStartNode(int node)
NodeCounter
setStartNode
in class NodeCounter
public String getCounter()
NodeCounter
getCounter
in class NodeCounter
public static NodeCounter getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator)
Copyright © 2018 JBoss by Red Hat. All rights reserved.