|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Decorator<E>
The codec uses this interface to add additional information to LDAP Model objects during encoding and decoding,
| Method Summary | |
|---|---|
int |
computeLength()
Compute the object length, which is the sum of all inner length. |
ByteBuffer |
encode(ByteBuffer buffer)
Encode the object to a PDU. |
LdapCodecService |
getCodecService()
Gets the codec service responsible for managing the encoding and decoding of the decorated objects. |
E |
getDecorated()
Gets the object being decorated by this IDecorator. |
| Method Detail |
|---|
E getDecorated()
int computeLength()
ByteBuffer encode(ByteBuffer buffer)
throws EncoderException
buffer - The buffer where to put the PDU
EncoderException - if the buffer can't be encodedLdapCodecService getCodecService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||