|
||||||||||
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 |
---|
grammar, grammarEndAllowed, parentTLV, state, states, stateStack, tlv, transition |
Constructor Summary | |
---|---|
LdapMessageContainer()
Creates a new LdapMessageContainer object. |
|
LdapMessageContainer(java.util.Set binaries)
Creates a new LdapMessageContainer object. |
Method Summary | |
---|---|
void |
clean()
|
Control |
getCurrentControl()
|
LdapMessage |
getLdapMessage()
|
int |
getMessageId()
|
boolean |
isBinary(java.lang.String id)
|
void |
setCurrentControl(Control currentControl)
Store a newly created control |
void |
setLdapMessage(LdapMessage 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, getGrammar, getNewTlvId, getParentTLV, getState, getStates, getTlvId, getTransition, grammarEndAllowed, isGrammarEndAllowed, setCurrentTLV, setParentTLV, setState, setTransition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.directory.shared.asn1.ber.IAsn1Container |
---|
getCurrentTLV, getGrammar, getNewTlvId, getParentTLV, getState, getStates, getTlvId, getTransition, grammarEndAllowed, isGrammarEndAllowed, setCurrentTLV, setParentTLV, setState, setTransition |
Constructor Detail |
---|
public LdapMessageContainer()
public LdapMessageContainer(java.util.Set binaries)
Method Detail |
---|
public LdapMessage getLdapMessage()
public void setLdapMessage(LdapMessage ldapMessage)
ldapMessage
- The message to set.public void clean()
clean
in class org.apache.directory.shared.asn1.ber.AbstractContainer
public boolean isBinary(java.lang.String id)
public int getMessageId()
public void setMessageId(int messageId)
public Control getCurrentControl()
public void setCurrentControl(Control currentControl)
currentControl
- The control to store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |