|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
org.apache.xalan.transformer.CountersTable
public class CountersTable
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...).
| Field Summary | |
|---|---|
(package private) int |
m_countersMade
Number of counters created so far |
private NodeSetDTM |
m_newFound
Place to collect new counters. |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
CountersTable()
Construct a CountersTable. |
|
| Method Summary | |
|---|---|
(package private) void |
appendBtoFList(NodeSetDTM flist,
NodeSetDTM blist)
Add a list of counted nodes that were built in backwards document order, or a list of counted nodes that are in forwards document order. |
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. |
(package private) java.util.Vector |
getCounters(ElemNumber numberElem)
Get the list of counters that corresponds to the given ElemNumber object. |
(package private) java.util.Vector |
putElemNumber(ElemNumber numberElem)
Put a counter into the table and create an empty vector as it's value. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
private transient NodeSetDTM m_newFound
transient int m_countersMade
| Constructor Detail |
|---|
public CountersTable()
| Method Detail |
|---|
java.util.Vector getCounters(ElemNumber numberElem)
numberElem - the given xsl:number element.
java.util.Vector putElemNumber(ElemNumber numberElem)
numberElem - the given xsl:number element.
void appendBtoFList(NodeSetDTM flist,
NodeSetDTM blist)
flist - Vector of nodes built in forwards document orderblist - Vector of nodes built in backwards document order
public int countNode(XPathContext support,
ElemNumber numberElem,
int node)
throws javax.xml.transform.TransformerException
support - The XPath context to usenumberElem - The given xsl:number element.node - The node to count.
javax.xml.transform.TransformerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||