Class XmlSerializer

    • Method Detail

      • writeXmlToStream

        @Deprecated
        public void writeXmlToStream​(TagNode tagNode,
                                     java.io.OutputStream out,
                                     java.lang.String charset)
                              throws java.io.IOException
        Deprecated.
        Use writeToStream() instead.
        Throws:
        java.io.IOException
      • writeXmlToStream

        @Deprecated
        public void writeXmlToStream​(TagNode tagNode,
                                     java.io.OutputStream out)
                              throws java.io.IOException
        Deprecated.
        Use writeToStream() instead.
        Throws:
        java.io.IOException
      • writeXmlToFile

        @Deprecated
        public void writeXmlToFile​(TagNode tagNode,
                                   java.lang.String fileName,
                                   java.lang.String charset)
                            throws java.io.IOException
        Deprecated.
        Use writeToFile() instead.
        Throws:
        java.io.IOException
      • writeXmlToFile

        @Deprecated
        public void writeXmlToFile​(TagNode tagNode,
                                   java.lang.String fileName)
                            throws java.io.IOException
        Deprecated.
        Use writeToFile() instead.
        Throws:
        java.io.IOException
      • getXmlAsString

        @Deprecated
        public java.lang.String getXmlAsString​(TagNode tagNode,
                                               java.lang.String charset)
                                        throws java.io.IOException
        Deprecated.
        Use getAsString() instead.
        Throws:
        java.io.IOException
      • getXmlAsString

        @Deprecated
        public java.lang.String getXmlAsString​(TagNode tagNode)
                                        throws java.io.IOException
        Deprecated.
        Use getAsString() instead.
        Throws:
        java.io.IOException
      • writeXml

        @Deprecated
        public void writeXml​(TagNode tagNode,
                             java.io.Writer writer,
                             java.lang.String charset)
                      throws java.io.IOException
        Deprecated.
        Use write() instead.
        Throws:
        java.io.IOException
      • escapeXml

        protected java.lang.String escapeXml​(java.lang.String xmlContent)
      • dontEscape

        protected boolean dontEscape​(TagNode tagNode)
      • isMinimizedTagSyntax

        protected boolean isMinimizedTagSyntax​(TagNode tagNode)
      • serializeOpenTag

        protected void serializeOpenTag​(TagNode tagNode,
                                        java.io.Writer writer,
                                        boolean newLine)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • serializeEndTag

        protected void serializeEndTag​(TagNode tagNode,
                                       java.io.Writer writer,
                                       boolean newLine)
                                throws java.io.IOException
        Throws:
        java.io.IOException