Class XmlEncodingBase

    • Constructor Summary

      Constructors 
      Constructor Description
      XmlEncodingBase()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.charset.Charset getCharset()
      Obtain the character encoding of the XML source that was used to populate this object.
      void setCharset​(java.nio.charset.Charset charset)
      Set the character encoding of the XML source used to populate this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlEncodingBase

        public XmlEncodingBase()
        Default constructor.
    • Method Detail

      • setCharset

        public void setCharset​(java.nio.charset.Charset charset)
        Set the character encoding of the XML source used to populate this object.
        Parameters:
        charset - The character encoding
      • getCharset

        public java.nio.charset.Charset getCharset()
        Obtain the character encoding of the XML source that was used to populate this object.
        Returns:
        The character encoding of the associated XML source or UTF-8 if the encoding could not be determined