Package javanet.staxutils.events
Class ProcessingInstructionEvent
java.lang.Object
javanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.ProcessingInstructionEvent
- All Implemented Interfaces:
Serializable,Cloneable,ExtendedXMLEvent,ProcessingInstruction,XMLEvent,XMLStreamConstants
ProcessingInstruction event implementation.- Version:
- $Revision: 1.2 $
- Author:
- Christian Niles
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe instruction data.protected StringThe PI target.Fields inherited from class javanet.staxutils.events.AbstractXMLEvent
location, schemaTypeFields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
ConstructorsConstructorDescriptionProcessingInstructionEvent(String target, String data) ProcessingInstructionEvent(String target, String data, Location location) -
Method Summary
Methods inherited from class javanet.staxutils.events.AbstractXMLEvent
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEventMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Field Details
-
target
The PI target. -
data
The instruction data.
-
-
Constructor Details
-
ProcessingInstructionEvent
-
ProcessingInstructionEvent
-
ProcessingInstructionEvent
-
-
Method Details
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent
-
getTarget
- Specified by:
getTargetin interfaceProcessingInstruction
-
getData
- Specified by:
getDatain interfaceProcessingInstruction
-