E
- The element to decoratepublic interface Decorator<E>
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the object length, which is the sum of all inner length.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the object to a PDU.
|
LdapApiService |
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.
|
E getDecorated()
int computeLength()
ByteBuffer encode(ByteBuffer buffer) throws EncoderException
buffer
- The buffer where to put the PDUEncoderException
- if the buffer can't be encodedLdapApiService getCodecService()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.