org.apache.axis.components.encoding
Interface XMLEncoder

All 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 Detail

getEncoding

String getEncoding()
gets the encoding supported by this encoder

Returns:
string

encode

String encode(String xmlString)
encode a given string

Parameters:
xmlString - string to be encoded
Returns:
encoded string

writeEncoded

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
Throws:
IOException


Copyright © The Apache Software Foundation. All Rights Reserved.