BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.stree
Interface SaxEventDispatch

All Known Implementing Classes:
Child

public interface SaxEventDispatch

This class allows a node to implement an interface that will allow it to dispatch a SAX ContentHandler event to a ContentHandler. This is especially useful in those cases where you want the node to be able to dispatch a character event, but don't want to cause it to make a string.

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.


Field Summary
static java.lang.String SUPPORTSINTERFACE
          The URL to pass to the Node#supports method, to see if the node supports this interface.
 
Method Summary
 void dispatchCharactersEvent(org.xml.sax.ContentHandler ch)
          If a node supports this interface, it can directly call an appropriate method on the passed ContentHandler.
 

Field Detail

SUPPORTSINTERFACE

public static final java.lang.String SUPPORTSINTERFACE
The URL to pass to the Node#supports method, to see if the node supports this interface.
Method Detail

dispatchCharactersEvent

public void dispatchCharactersEvent(org.xml.sax.ContentHandler ch)
                             throws org.xml.sax.SAXException
If a node supports this interface, it can directly call an appropriate method on the passed ContentHandler. For instance, a text node will call the characters method. This is for optimization purposes, when the node may have information not easily accessible, which it can pass directly to the sax event. For instance, the text node may be able to directly pass a char array, and thus not have to create a String object at all.

Parameters:
ch - A non-null reference to a ContentHandler.
Throws:
org.xml.sax.SAXException -  

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.