|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EncodedType
- the type of object created by encoding the attributepublic interface AttributeEncoder<EncodedType>
Attribute encoders convert BaseAttribute
s into protocol specific representations.
Encoders may have contain a category that can be used to distingush encoder types from
each other. This inteded to be used to look up an encoder that can be used to encode
attributes in accordance with a defined specification or tranmission protcol.
Encoders MUST be thread-safe and stateless.
Method Summary | |
---|---|
EncodedType |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations. |
String |
getAttributeName()
Get the name of the attribute. |
void |
setAttributeName(String attributeName)
Sets the name of the attribute. |
Method Detail |
---|
String getAttributeName()
void setAttributeName(String attributeName)
attributeName
- name of the attributeEncodedType encode(BaseAttribute attribute) throws AttributeEncodingException
attribute
- the attribute to encode
AttributeEncodingException
- if unable to successfully encode attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |