public class ProcessingInstructionEvent extends EventBase implements javax.xml.stream.events.ProcessingInstruction
_eventType, _location
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
ProcessingInstructionEvent() |
ProcessingInstructionEvent(String targetName,
String data) |
Modifier and Type | Method and Description |
---|---|
String |
getData() |
String |
getTarget() |
protected void |
init() |
void |
setData(String data) |
void |
setTarget(String targetName) |
String |
toString() |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, 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
protected void init()
public String getTarget()
getTarget
in interface javax.xml.stream.events.ProcessingInstruction
public void setTarget(String targetName)
public void setData(String data)
public String getData()
getData
in interface javax.xml.stream.events.ProcessingInstruction
Copyright © 2012 Oracle Corpration. All Rights Reserved.