org.apache.xalan.transformer
Class CountersTable
Hashtable
org.apache.xalan.transformer.CountersTable
public class CountersTable
extends Hashtable
This is a table of counters, keyed by ElemNumber objects, each
of which has a list of Counter objects. This really isn't a true
table, it is more like a list of lists (there must be a technical
term for that...).
int | countNode(XPathContext support, ElemNumber numberElem, int node) - Count forward until the given node is found, or until
we have looked to the given amount.
|
CountersTable
public CountersTable()
Construct a CountersTable.
countNode
public int countNode(XPathContext support,
ElemNumber numberElem,
int node)
throws TransformerException
Count forward until the given node is found, or until
we have looked to the given amount.
support
- The XPath context to usenumberElem
- The given xsl:number element.node
- The node to count.
- The node count, or 0 if not found.
Copyright B) 2005 Apache XML Project. All Rights Reserved.