context.arch.comm.language
Interface DecoderInterface

All Known Implementing Classes:
SAX_XMLDecoder

public interface DecoderInterface

This interface specifies all the methods an DecoderInterface object must support. This allows the details of the decoding to be abstracted away.


Method Summary
 DataObject decodeData(java.io.Reader message)
          Method to decode the incoming data
 java.lang.String getClassName()
          Method to get the class being used for decoding
 java.lang.String getLanguage()
          Method to get the language being used for decoding
 

Method Detail

decodeData

public DataObject decodeData(java.io.Reader message)
                      throws DecodeException
Method to decode the incoming data

Parameters:
message - Message to be decoded
Returns:
the decoded message in a DataObject
Throws:
DecodeException - thrown when the given data can not be decoded successfully

getClassName

public java.lang.String getClassName()
Method to get the class being used for decoding

Returns:
the class used for decoding

getLanguage

public java.lang.String getLanguage()
Method to get the language being used for decoding

Returns:
the language used for decoding