org.apache.axis.components.encoding

Interface XMLEncoder

Known Implementing Classes:
AbstractXMLEncoder, DefaultXMLEncoder

public interface XMLEncoder

Interface for XMLEncoders

Method Summary

String
encode(String xmlString)
encode a given string
String
getEncoding()
gets the encoding supported by this encoder
void
writeEncoded(Writer writer, String xmlString)
write the encoded version of a given string

Method Details

encode

public String encode(String xmlString)
encode a given string
Parameters:
xmlString - string to be encoded
Returns:
encoded string

getEncoding

public String getEncoding()
gets the encoding supported by this encoder
Returns:
string

writeEncoded

public void writeEncoded(Writer writer,
                         String xmlString)
            throws IOException
write the encoded version of a given string
Parameters:
writer - writer to write this string to
xmlString - string to be encoded

Copyright © 2005 Apache Web Services Project. All Rights Reserved.