Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## context.arch.comm.language
Interface EncoderInterface

All Known Implementing Classes:
  XMLEncoder

public interface EncoderInterface

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

Method Summary
`java.lang.String` | `encodeData(DataObject data)` Method to encode the incoming data
`java.lang.String` | `getClassName()` Method to get the class being used for encoding
`java.lang.String` | `getLanguage()` Method to get the language being used for encoding

Method Detail

### encodeData

    public java.lang.String encodeData(DataObject data)
                                throws EncodeException

  Method to encode the incoming data
  Parameters:
    `data` - Data to be encoded
  Returns:
    the encoded message
  Throws:
    EncodeException - thrown when the given data can not be encoded successfully

### getClassName

    public java.lang.String getClassName()

  Method to get the class being used for encoding
  Returns:
    the class used for encoding

### getLanguage

    public java.lang.String getLanguage()

  Method to get the language being used for encoding
  Returns:
    the language used for encoding

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD