Interface XMLEncoder
- All Known Implementing Classes:
AbstractXMLEncoder
,DefaultXMLEncoder
public interface XMLEncoder
Interface for XMLEncoders
-
Method Summary
Modifier and TypeMethodDescriptionencode a given stringgets the encoding supported by this encodervoid
writeEncoded
(Writer writer, String xmlString) write the encoded version of a given string
-
Method Details
-
getEncoding
String getEncoding()gets the encoding supported by this encoder- Returns:
- string
-
encode
encode a given string- Parameters:
xmlString
- string to be encoded- Returns:
- encoded string
-
writeEncoded
write the encoded version of a given string- Parameters:
writer
- writer to write this string toxmlString
- string to be encoded- Throws:
IOException
-