com.sun.xml.bind.v2.runtime.output
Class C14nXmlOutput

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl
      extended by com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput
          extended by com.sun.xml.bind.v2.runtime.output.C14nXmlOutput
All Implemented Interfaces:
XmlOutput

public class C14nXmlOutput
extends UTF8XmlOutput

XmlOutput that generates canonical XML.

See Also:
com.sun.xml.bind.api.C14nSupport_ArchitectureDocument

Constructor Summary
C14nXmlOutput(java.io.OutputStream out, Encoded[] localNames, boolean namedAttributesAreOrdered, CharacterEscapeHandler escapeHandler)
           
 
Method Summary
 void attribute(int prefix, java.lang.String localName, java.lang.String value)
           
 void attribute(Name name, java.lang.String value)
           
 void endStartTag()
           
 
Methods inherited from class com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput
beginStartTag, beginStartTag, endDocument, endTag, endTag, setHeader, startDocument, text, text, text, text, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

C14nXmlOutput

public C14nXmlOutput(java.io.OutputStream out,
                     Encoded[] localNames,
                     boolean namedAttributesAreOrdered,
                     CharacterEscapeHandler escapeHandler)
Method Detail

attribute

public void attribute(Name name,
                      java.lang.String value)
               throws java.io.IOException
Specified by:
attribute in interface XmlOutput
Overrides:
attribute in class UTF8XmlOutput
Throws:
java.io.IOException

attribute

public void attribute(int prefix,
                      java.lang.String localName,
                      java.lang.String value)
               throws java.io.IOException
Specified by:
attribute in interface XmlOutput
Overrides:
attribute in class UTF8XmlOutput
Parameters:
prefix - -1 if this attribute does not have a prefix (this handling differs from that of elements.)
Throws:
java.io.IOException

endStartTag

public void endStartTag()
                 throws java.io.IOException
Specified by:
endStartTag in interface XmlOutput
Overrides:
endStartTag in class UTF8XmlOutput
Throws:
java.io.IOException