public class ProcessingInstructionEvent extends AbstractXMLEvent implements ProcessingInstruction
ProcessingInstruction event implementation.| Modifier and Type | Field and Description |
|---|---|
protected String |
data
The instruction data.
|
protected String |
target
The PI target.
|
location, schemaTypeATTRIBUTE, 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(ProcessingInstruction that) |
ProcessingInstructionEvent(String target,
String data) |
ProcessingInstructionEvent(String target,
String data,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
String |
getData() |
int |
getEventType()
|
String |
getTarget() |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEventequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected String target
protected String data
public ProcessingInstructionEvent(String target, String data, Location location)
public ProcessingInstructionEvent(ProcessingInstruction that)
public int getEventType()
getEventType in interface XMLEventpublic String getTarget()
getTarget in interface ProcessingInstructionpublic String getData()
getData in interface ProcessingInstructionCopyright © 2017. All rights reserved.