|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.ber.AbstractContainer
org.apache.directory.shared.ldap.codec.LdapMessageContainer
public class LdapMessageContainer
The LdapMessage container stores all the messages decoded by the Asn1Decoder. When dealing whith an incoding PDU, we will obtain a LdapMessage in the ILdapContainer.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer |
|---|
decodeBytes, grammar, grammarEndAllowed, maxPDUSize, parentTLV, state, states, stateStack, tlv, transition |
| Constructor Summary | |
|---|---|
LdapMessageContainer()
Creates a new LdapMessageContainer object. |
|
LdapMessageContainer(BinaryAttributeDetector binaryAttributeDetector)
Creates a new LdapMessageContainer object. |
|
| Method Summary | |
|---|---|
void |
clean()
|
ControlCodec |
getCurrentControl()
|
LdapMessageCodec |
getLdapMessage()
|
int |
getMessageId()
|
boolean |
isBinary(java.lang.String id)
|
void |
setCurrentControl(ControlCodec currentControl)
Store a newly created control |
void |
setLdapMessage(LdapMessageCodec ldapMessage)
Set a ldapMessage Object into the container. |
void |
setMessageId(int messageId)
Set the message ID |
| Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer |
|---|
getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStates, getTlvId, getTransition, grammarEndAllowed, incrementDecodeBytes, isGrammarEndAllowed, setCurrentTLV, setMaxPDUSize, setParentTLV, setState, setTransition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapMessageContainer()
public LdapMessageContainer(BinaryAttributeDetector binaryAttributeDetector)
binaryAttributeDetector - checks if an attribute is binary| Method Detail |
|---|
public LdapMessageCodec getLdapMessage()
public void setLdapMessage(LdapMessageCodec ldapMessage)
ldapMessage - The message to set.public void clean()
clean in class AbstractContainerpublic boolean isBinary(java.lang.String id)
id - checks if an attribute id is binary
public int getMessageId()
public void setMessageId(int messageId)
messageId - the id of the messagepublic ControlCodec getCurrentControl()
public void setCurrentControl(ControlCodec currentControl)
currentControl - The control to store
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||