Constructor and Description |
---|
WProcInstr(javax.xml.stream.Location loc,
java.lang.String target,
java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getData() |
int |
getEventType() |
java.lang.String |
getTarget() |
boolean |
isProcessingInstruction() |
void |
writeAsEncodedUnicode(java.io.Writer w) |
void |
writeUsing(javax.xml.stream.XMLStreamWriter w) |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isStartDocument, isStartElement, throwFromIOE, toString
public WProcInstr(javax.xml.stream.Location loc, java.lang.String target, java.lang.String data)
public java.lang.String getData()
getData
in interface javax.xml.stream.events.ProcessingInstruction
public java.lang.String getTarget()
getTarget
in interface javax.xml.stream.events.ProcessingInstruction
public int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
getEventType
in class WEvent
public boolean isProcessingInstruction()
isProcessingInstruction
in interface javax.xml.stream.events.XMLEvent
isProcessingInstruction
in class WEvent
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
writeAsEncodedUnicode
in class WEvent
javax.xml.stream.XMLStreamException
public void writeUsing(javax.xml.stream.XMLStreamWriter w) throws javax.xml.stream.XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class WEvent
javax.xml.stream.XMLStreamException