Devsphere.com


com.devsphere.xml.taglib.process.event
Class HandleDOM

java.lang.Object
  |
  +--com.devsphere.xml.taglib.process.event.EventSupport
        |
        +--com.devsphere.xml.taglib.process.event.HandleDOM

public class HandleDOM
extends EventSupport

This class wraps the parameters of the handleDOM() SAXDOMIX event.


Constructor Summary
HandleDOM(int indentLevel, org.w3c.dom.Element element)
          Initializes the event.
 
Method Summary
 org.w3c.dom.Element getElement()
          Returns the root element of the DOM sub-tree
 java.lang.String toString()
          Returns a text containing the values of some of the properties of this event, including its type.
 
Methods inherited from class com.devsphere.xml.taglib.process.event.EventSupport
getIndentLevel, isConsumed, setConsumed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandleDOM

public HandleDOM(int indentLevel,
                 org.w3c.dom.Element element)
Initializes the event.

Parameters:
indentLevel - the indent level of the character data
element - the root element of the DOM sub-tree
Method Detail

getElement

public org.w3c.dom.Element getElement()
Returns the root element of the DOM sub-tree

Returns:
the root element of the DOM sub-tree

toString

public java.lang.String toString()
Returns a text containing the values of some of the properties of this event, including its type. It is primarily intended for debugging.

Overrides:
toString in class EventSupport
Returns:
a string representation of this event

 Devsphere.com