|
||||||||||
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(BinaryAttributeDetector binaryAttributeDetector)
Creates a new LdapMessageContainer object. |
Method Summary | |
---|---|
void |
clean()
Clean the container for the next usage. |
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 |
Constructor Detail |
---|
public LdapMessageContainer()
public LdapMessageContainer(BinaryAttributeDetector binaryAttributeDetector)
binaryAttributeDetector
- checks if an attribute is binaryMethod Detail |
---|
public LdapMessage getLdapMessage()
public void setLdapMessage(LdapMessage ldapMessage)
ldapMessage
- The message to set.public void clean()
AbstractContainer
clean
in class AbstractContainer
public 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 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 |