Class C14nXmlOutput

    • 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
      • writeNsDecls

        protected void writeNsDecls​(int base)
                             throws java.io.IOException
        Write namespace declarations after sorting them.
        Overrides:
        writeNsDecls in class UTF8XmlOutput
        Throws:
        java.io.IOException