public class C14nXmlOutput extends UTF8XmlOutput
XmlOutput that generates canonical XML.closeStartTagPending, octetBuffer, octetBufferIndex, outnsContext, nsUriIndex2prefixIndex, serializer| Constructor and Description |
|---|
C14nXmlOutput(OutputStream out,
Encoded[] localNames,
boolean namedAttributesAreOrdered,
CharacterEscapeHandler escapeHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(int prefix,
String localName,
String value) |
void |
attribute(Name name,
String value) |
void |
endStartTag() |
protected void |
writeNsDecls(int base)
Write namespace declarations after sorting them.
|
beginStartTag, beginStartTag, closeStartTag, endDocument, endTag, endTag, flushBuffer, setHeader, startDocument, text, text, text, text, write, write, write, writeNsDeclpublic C14nXmlOutput(OutputStream out, Encoded[] localNames, boolean namedAttributesAreOrdered, CharacterEscapeHandler escapeHandler)
public void attribute(Name name, String value) throws IOException
attribute in interface XmlOutputattribute in class UTF8XmlOutputIOExceptionpublic void attribute(int prefix,
String localName,
String value)
throws IOException
attribute in interface XmlOutputattribute in class UTF8XmlOutputprefix - -1 if this attribute does not have a prefix
(this handling differs from that of elements.)IOExceptionpublic void endStartTag()
throws IOException
endStartTag in interface XmlOutputendStartTag in class UTF8XmlOutputIOExceptionprotected void writeNsDecls(int base)
throws IOException
writeNsDecls in class UTF8XmlOutputIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.