Devsphere.com


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

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

public class Processing
extends EventSupport

This class wraps the parameters of the processingInstruction() SAX event.


Constructor Summary
Processing(int indentLevel, java.lang.String target, java.lang.String data)
          Initializes the event.
 
Method Summary
 java.lang.String getData()
          Returns the data of the processing instruction
 java.lang.String getTarget()
          Returns the target of the processing instruction
 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

Processing

public Processing(int indentLevel,
                  java.lang.String target,
                  java.lang.String data)
Initializes the event.

Parameters:
indentLevel - the indent level of the character data
target - the target of the processing instruction
data - the data of the processing instruction
Method Detail

getTarget

public java.lang.String getTarget()
Returns the target of the processing instruction

Returns:
the target of the processing instruction

getData

public java.lang.String getData()
Returns the data of the processing instruction

Returns:
the data of the processing instruction

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