public abstract class XmlEncodingBase extends Object
Constructor and Description |
---|
XmlEncodingBase() |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset()
Obtain the character encoding of the XML source that was used to
populated this object.
|
String |
getEncoding()
Deprecated.
This method will be removed in Tomcat 9
|
void |
setCharset(Charset charset) |
void |
setEncoding(String encoding)
Deprecated.
This method will be removed in Tomcat 9
|
@Deprecated public void setEncoding(String encoding)
encoding
- The encoding of the XML source that was used to
populated this object.@Deprecated public String getEncoding()
UTF-8
if the encoding could not be determinedpublic void setCharset(Charset charset)
public Charset getCharset()
UTF-8
if the encoding could not be determinedCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.