Class PXMLWriter

  • All Implemented Interfaces:
    IPXMLWriter

    public class PXMLWriter
    extends java.lang.Object
    implements IPXMLWriter
    • Constructor Detail

      • PXMLWriter

        public PXMLWriter​(java.io.Writer writer)
    • Method Detail

      • write

        public void write​(java.lang.String string)
                   throws java.io.IOException
        Specified by:
        write in interface IPXMLWriter
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface IPXMLWriter
        Throws:
        java.io.IOException
      • endDocument

        public void endDocument()
                         throws java.io.IOException
        Specified by:
        endDocument in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeNonEmptyNodeStart

        public void writeNonEmptyNodeStart​(java.lang.String nameSpacePrefix,
                                           java.lang.String localName)
                                    throws java.io.IOException
        Specified by:
        writeNonEmptyNodeStart in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeNodeStart

        public void writeNodeStart​(java.lang.String nameSpacePrefix,
                                   java.lang.String localName,
                                   boolean appendNameValueSeparator)
                            throws java.io.IOException
        Specified by:
        writeNodeStart in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeNodeEndSymbol

        public void writeNodeEndSymbol()
                                throws java.io.IOException
        Specified by:
        writeNodeEndSymbol in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeNodeEndTag

        public void writeNodeEndTag​(java.lang.String nameSpacePrefix,
                                    java.lang.String localName)
                             throws java.io.IOException
        Specified by:
        writeNodeEndTag in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeTextNode

        public void writeTextNode​(java.lang.String nameSpacePrefix,
                                  java.lang.String localName,
                                  java.lang.String text)
                           throws java.io.IOException
        Specified by:
        writeTextNode in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeEmptyNode

        public void writeEmptyNode​(java.lang.String nameSpacePrefix,
                                   java.lang.String localName)
                            throws java.io.IOException
        Specified by:
        writeEmptyNode in interface IPXMLWriter
        Throws:
        java.io.IOException
      • escapeAndWriteText

        public void escapeAndWriteText​(java.lang.String text)
                                throws java.io.IOException
        Specified by:
        escapeAndWriteText in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeAttributesStart

        public void writeAttributesStart()
                                  throws java.io.IOException
        Specified by:
        writeAttributesStart in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeAttributesEnd

        public void writeAttributesEnd()
                                throws java.io.IOException
        Specified by:
        writeAttributesEnd in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeAttribute

        public void writeAttribute​(java.lang.String nameSpacePrefix,
                                   java.lang.String localName,
                                   java.lang.String value,
                                   boolean appendAttributesSeparator)
                            throws java.io.IOException
        Specified by:
        writeAttribute in interface IPXMLWriter
        Throws:
        java.io.IOException
      • writeDoubleQuotedAttributeValue

        public void writeDoubleQuotedAttributeValue​(java.lang.String value)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • writeComment

        public void writeComment​(java.lang.String text)
                          throws java.io.IOException
        Specified by:
        writeComment in interface IPXMLWriter
        Throws:
        java.io.IOException