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
|
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 |
ProcessingInstruction
public ProcessingInstruction(java.lang.String target,
java.lang.String data)
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