org.apache.xalan.transformer
Class CountersTable

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--org.apache.xalan.transformer.CountersTable

public class CountersTable
extends java.util.Hashtable

**For internal use only** 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...).

See Also:
Serialized Form

Constructor Summary
CountersTable()
          **For internal use only** Construct a CountersTable.
 
Method Summary
 int countNode(XPathContext support, ElemNumber numberElem, Node node)
          **For internal use only** Count forward until the given node is found, or until we have looked to the given amount.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountersTable

public CountersTable()
**For internal use only** Construct a CountersTable.
Method Detail

countNode

public int countNode(XPathContext support,
                     ElemNumber numberElem,
                     Node node)
              throws SAXException
**For internal use only** Count forward until the given node is found, or until we have looked to the given amount.
Returns:
The node count, or 0 if not found.


Copyright © 2000 Apache XML Project. All Rights Reserved.