BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.transformer
Class CountersTable

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

public class CountersTable
extends java.util.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...).

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

See Also:
Serialized Form

Constructor Summary
CountersTable()
          Construct a CountersTable.
 
Method Summary
 int countNode(XPathContext support, ElemNumber numberElem, org.w3c.dom.Node node)
          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, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountersTable

public CountersTable()
Construct a CountersTable.
Method Detail

countNode

public int countNode(XPathContext support,
                     ElemNumber numberElem,
                     org.w3c.dom.Node node)
              throws javax.xml.transform.TransformerException
Count forward until the given node is found, or until we have looked to the given amount.

Parameters:
support - The XPath context to use
numberElem - The given xsl:number element.
node - The node to count.
Returns:
The node count, or 0 if not found.
Throws:
javax.xml.transform.TransformerException -  

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.