XmlOutput
public final class StAXExStreamWriterOutput extends XMLStreamWriterOutput
nsContext, nsUriIndex2prefixIndex, serializer
buf
Constructor | Description |
---|---|
StAXExStreamWriterOutput(XMLStreamWriterEx out) |
Modifier and Type | Method | Description |
---|---|---|
void |
text(Pcdata value,
boolean needsSeparatingWhitespace) |
Writes XML text with character escaping, if necessary.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attribute, beginStartTag, endTag
attribute, beginStartTag, create, endDocument, endStartTag, endTag, startDocument, text
public StAXExStreamWriterOutput(XMLStreamWriterEx out)
public void text(Pcdata value, boolean needsSeparatingWhitespace) throws javax.xml.stream.XMLStreamException
XmlOutput
text
in interface XmlOutput
text
in class XMLStreamWriterOutput
value
- this string can contain characters that might need escaping
(such as '&' or '>'
)javax.xml.stream.XMLStreamException
Copyright © 2018 Oracle Corporation. All rights reserved.