Interface XMLEncoder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String encode​(java.lang.String xmlString)
      encode a given string
      java.lang.String getEncoding()
      gets the encoding supported by this encoder
      void writeEncoded​(java.io.Writer writer, java.lang.String xmlString)
      write the encoded version of a given string
    • Method Detail

      • getEncoding

        java.lang.String getEncoding()
        gets the encoding supported by this encoder
        Returns:
        string
      • encode

        java.lang.String encode​(java.lang.String xmlString)
        encode a given string
        Parameters:
        xmlString - string to be encoded
        Returns:
        encoded string
      • writeEncoded

        void writeEncoded​(java.io.Writer writer,
                          java.lang.String xmlString)
                   throws java.io.IOException
        write the encoded version of a given string
        Parameters:
        writer - writer to write this string to
        xmlString - string to be encoded
        Throws:
        java.io.IOException