public class SearchResponseDsml extends LdapResponseDecorator implements DsmlDecorator
instance
ldapMessageLength
parent
Constructor and Description |
---|
SearchResponseDsml(LdapMessageCodec response)
Creates a new instance of SearchResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addResponse(DsmlDecorator response)
Adds a response.
|
boolean |
removeResponse(DsmlDecorator response)
Removes a response.
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResponseLength, getLdapResult, setLdapResult
addControl, addLength, computeLength, computeLengthProtocolOp, encode, encodeProtocolOp, getAbandonRequest, getAddRequest, getAddResponse, getBindRequest, getBindResponse, getCompareRequest, getCompareResponse, getControls, getControls, getCurrentControl, getCurrentLength, getDelRequest, getDelResponse, getExpectedLength, getExtendedRequest, getExtendedResponse, getLdapResponse, getMessageId, getMessageType, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getParent, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, setCurrentLength, setExpectedLength, setMessageId, setParent, toString
addControls, encode, getCodecControl, initControls, toString
getTlvId
public SearchResponseDsml(LdapMessageCodec response)
public boolean addResponse(DsmlDecorator response)
response
- the response to addpublic boolean removeResponse(DsmlDecorator response)
response
- the response to removepublic org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecorator
toDsml
in interface DsmlDecorator
root
- the root dom4j ElementCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.