de.trantor.xml.pullparser.event
Class ProcessingInstruction

java.lang.Object
  |
  +--de.trantor.xml.pullparser.event.ProcessingInstruction

public class ProcessingInstruction
extends java.lang.Object
implements ParseEvent

A class for events indicating processing instructions


Fields inherited from interface de.trantor.xml.pullparser.event.ParseEvent
CHARACTERS, COMMENT, END_DOCUMENT, END_TAG, IGNORABLE_WHITESPACE, PROCESSING_INSTRUCTION, START_TAG
 
Constructor Summary
ProcessingInstruction(java.lang.String target, java.lang.String data)
           
 
Method Summary
 java.lang.String getData()
          returns the date of the processing instruction
 java.lang.String getTarget()
          returns the target of the processing instruction
 int getType()
          returns PROCESSING_INSTRUCTION.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingInstruction

public ProcessingInstruction(java.lang.String target,
                             java.lang.String data)
Method Detail

getTarget

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

getData

public java.lang.String getData()
returns the date of the processing instruction

getType

public int getType()
returns PROCESSING_INSTRUCTION.
Specified by:
getType in interface ParseEvent

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object