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, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic ProcessingInstructionEvent()
public ProcessingInstructionEvent(java.lang.String name,
java.lang.String content)
protected void init()
public java.lang.String getTarget()
javax.xml.stream.events.ProcessingInstructiongetTarget in interface javax.xml.stream.events.ProcessingInstructionpublic void setTarget(java.lang.String target)
public void setData(java.lang.String data)
public java.lang.String getData()
javax.xml.stream.events.ProcessingInstructiongetData in interface javax.xml.stream.events.ProcessingInstructionprotected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEventdoWriteAsEncodedUnicode in class BaseEventjava.io.IOException