public class ProcessingInstructionEvent extends AbstractXMLEvent implements javax.xml.stream.events.ProcessingInstruction
ProcessingInstruction
event implementation.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
data
The instruction data.
|
protected java.lang.String |
target
The PI target.
|
location, schemaType
Constructor and Description |
---|
ProcessingInstructionEvent(javax.xml.stream.events.ProcessingInstruction that) |
ProcessingInstructionEvent(java.lang.String target,
java.lang.String data) |
ProcessingInstructionEvent(java.lang.String target,
java.lang.String data,
javax.xml.stream.Location location) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getData() |
int |
getEventType()
Returns
XMLStreamConstants.PROCESSING_INSTRUCTION . |
java.lang.String |
getTarget() |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEvent
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
protected java.lang.String target
protected java.lang.String data
public ProcessingInstructionEvent(java.lang.String target, java.lang.String data)
public ProcessingInstructionEvent(java.lang.String target, java.lang.String data, javax.xml.stream.Location location)
public ProcessingInstructionEvent(javax.xml.stream.events.ProcessingInstruction that)
public int getEventType()
XMLStreamConstants.PROCESSING_INSTRUCTION
.getEventType
in interface javax.xml.stream.events.XMLEvent
public java.lang.String getTarget()
getTarget
in interface javax.xml.stream.events.ProcessingInstruction
public java.lang.String getData()
getData
in interface javax.xml.stream.events.ProcessingInstruction