org.apache.xerces.stax.events
Class ProcessingInstructionImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.ProcessingInstructionImpl
- All Implemented Interfaces:
- ProcessingInstruction, XMLEvent, XMLStreamConstants
public final class ProcessingInstructionImpl
- extends XMLEventImpl
- implements ProcessingInstruction
- Version:
- $Id: ProcessingInstructionImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
- Author:
- Lucian Holland
Fields 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 |
Methods inherited from class org.apache.xerces.stax.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, toString |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
ProcessingInstructionImpl
public ProcessingInstructionImpl(String target,
String data,
Location location)
- Parameters:
location
-
getTarget
public String getTarget()
- Specified by:
getTarget
in interface ProcessingInstruction
- See Also:
ProcessingInstruction.getTarget()
getData
public String getData()
- Specified by:
getData
in interface ProcessingInstruction
- See Also:
ProcessingInstruction.getData()
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.