Devsphere.com


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

java.lang.Object
  |
  +--com.devsphere.xml.taglib.process.event.EventSupport
Direct Known Subclasses:
Characters, EndDocument, EndElement, HandleDOM, Processing, StartDocument, StartElement

public class EventSupport
extends java.lang.Object

This is the base class of all event wrapper classes from this package.


Constructor Summary
EventSupport(int indentLevel)
          Initializes the event.
 
Method Summary
 int getIndentLevel()
          Returns the indent level
 boolean isConsumed()
          Returns true if the event was consumed
 void setConsumed(boolean consumed)
          Sets the consumed flag of this event.
 java.lang.String toString()
          Returns a text containing the values of some of the properties of this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventSupport

public EventSupport(int indentLevel)
Initializes the event.

Parameters:
indentLevel - the indent level
Method Detail

getIndentLevel

public int getIndentLevel()
Returns the indent level

Returns:
the indent level

isConsumed

public boolean isConsumed()
Returns true if the event was consumed

Returns:
a flag indicating if the event was consumed

setConsumed

public void setConsumed(boolean consumed)
Sets the consumed flag of this event.

Parameters:
consumed - a flag indicating if the event was consumed

toString

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

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this event

 Devsphere.com