public class DefaultXMLEncoder extends AbstractXMLEncoder
Constructor and Description |
---|
DefaultXMLEncoder(String encoding) |
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
gets the encoding supported by this encoder
|
void |
writeEncoded(Writer writer,
String xmlString)
write the encoded version of a given string
|
encode, getInitialByteArray
public DefaultXMLEncoder(String encoding)
public String getEncoding()
getEncoding
in interface XMLEncoder
public void writeEncoded(Writer writer, String xmlString) throws IOException
writer
- writer to write this string toxmlString
- string to be encodedIOException
Copyright © The Apache Software Foundation. All Rights Reserved.