public class C14nXmlOutput extends UTF8XmlOutput
XmlOutput
that generates canonical XML.com.sun.xml.bind.api.C14nSupport_ArchitectureDocument
closeStartTagPending, octetBuffer, octetBufferIndex, out
nsContext, 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, writeNsDecl
public C14nXmlOutput(OutputStream out, Encoded[] localNames, boolean namedAttributesAreOrdered, CharacterEscapeHandler escapeHandler)
public void attribute(Name name, String value) throws IOException
attribute
in interface XmlOutput
attribute
in class UTF8XmlOutput
IOException
public void attribute(int prefix, String localName, String value) throws IOException
attribute
in interface XmlOutput
attribute
in class UTF8XmlOutput
prefix
- -1 if this attribute does not have a prefix
(this handling differs from that of elements.)IOException
public void endStartTag() throws IOException
endStartTag
in interface XmlOutput
endStartTag
in class UTF8XmlOutput
IOException
protected void writeNsDecls(int base) throws IOException
writeNsDecls
in class UTF8XmlOutput
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.