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.
- Author:
- Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
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. |
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.
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 -
WebLogic classes and methods that do not appear in this reference are not public and are not supported.