public class ProcessingInstructionEvent extends BaseEvent implements javax.xml.stream.events.ProcessingInstruction
Constructor and Description |
---|
ProcessingInstructionEvent() |
ProcessingInstructionEvent(java.lang.String name,
java.lang.String content) |
Modifier and Type | Method and Description |
---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes.
|
java.lang.String |
getData()
The data section of the processing instruction
|
java.lang.String |
getTarget()
The target section of the processing instruction
|
protected void |
init() |
void |
setData(java.lang.String data) |
void |
setTarget(java.lang.String target) |
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, toString, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public ProcessingInstructionEvent()
public ProcessingInstructionEvent(java.lang.String name, java.lang.String content)
protected void init()
public java.lang.String getTarget()
javax.xml.stream.events.ProcessingInstruction
getTarget
in interface javax.xml.stream.events.ProcessingInstruction
public void setTarget(java.lang.String target)
public void setData(java.lang.String data)
public java.lang.String getData()
javax.xml.stream.events.ProcessingInstruction
getData
in interface javax.xml.stream.events.ProcessingInstruction
protected void doWriteAsEncodedUnicode(java.io.Writer writer) throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode
in class BaseEvent
java.io.IOException