public class SearchResponseDsml extends AbstractResponseDsml<Response>
Constructor and Description |
---|
SearchResponseDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of SearchResponseDsml.
|
SearchResponseDsml(LdapApiService codec,
Message response)
Creates a new getDecoratedMessage() of SearchResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addResponse(DsmlDecorator<? extends Response> response)
Adds a response.
|
boolean |
removeResponse(DsmlDecorator<? extends Response> response)
Removes a response.
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, getType, hasControl, put, removeControl, setMessageId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public SearchResponseDsml(LdapApiService codec)
public SearchResponseDsml(LdapApiService codec, Message response)
response
- the LDAP response message to decoratepublic boolean addResponse(DsmlDecorator<? extends Response> response)
response
- the response to addpublic boolean removeResponse(DsmlDecorator<? extends Response> response)
response
- the response to removepublic org.dom4j.Element toDsml(org.dom4j.Element root)
root
- the root dom4j ElementCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.