javax.xml.stream.events.ProcessingInstruction
, javax.xml.stream.events.XMLEvent
, javax.xml.stream.XMLStreamConstants
public class ProcessingInstructionEvent extends BaseEvent implements javax.xml.stream.events.ProcessingInstruction
Constructor | Description |
---|---|
ProcessingInstructionEvent() |
|
ProcessingInstructionEvent(java.lang.String name,
java.lang.String content) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer) |
Template method to be implemented by sub-classes.
|
java.lang.String |
getData() |
|
java.lang.String |
getTarget() |
|
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()
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()
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