Interface XMLEncoder
-
- All Known Implementing Classes:
AbstractXMLEncoder,DefaultXMLEncoder
public interface XMLEncoderInterface for XMLEncoders
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringencode(java.lang.String xmlString)encode a given stringjava.lang.StringgetEncoding()gets the encoding supported by this encodervoidwriteEncoded(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.IOExceptionwrite the encoded version of a given string- Parameters:
writer- writer to write this string toxmlString- string to be encoded- Throws:
java.io.IOException
-
-