Class CustomSerializer


  • public class CustomSerializer
    extends nu.xom.Serializer
    Custom Serializer with the sole purpose and functionality to not output the XML declaration.
    Author:
    egonw
    Source code:
    main
    Belongs to CDK module:
    libiocml
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void writeXMLDeclaration()
      Overwrite the Serializer.writeXMLDeclaration() method, and have it not output the XML declaration.
      • Methods inherited from class nu.xom.Serializer

        breakLine, flush, getColumnNumber, getEncoding, getIndent, getLineSeparator, getMaxLength, getPreserveBaseURI, getUnicodeNormalizationFormC, setIndent, setLineSeparator, setMaxLength, setOutputStream, setPreserveBaseURI, setUnicodeNormalizationFormC, write, write, write, write, write, write, write, writeAttributes, writeAttributeValue, writeChild, writeEmptyElementTag, writeEndTag, writeEscaped, writeNamespaceDeclaration, writeNamespaceDeclarations, writeRaw, writeStartTag
    • Method Detail

      • writeXMLDeclaration

        protected void writeXMLDeclaration()
                                    throws IOException
        Overwrite the Serializer.writeXMLDeclaration() method, and have it not output the XML declaration.
        Overrides:
        writeXMLDeclaration in class nu.xom.Serializer
        Throws:
        IOException