|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator<E>
org.apache.directory.api.dsmlv2.reponse.AbstractResponseDsml<Response>
org.apache.directory.api.dsmlv2.reponse.SearchResponseDsml
public class SearchResponseDsml
This class represents the Search Response Dsml Container. It is used to store Search Responses (Search Result Entry, Search Result Reference and SearchResultDone).
| Constructor Summary | |
|---|---|
SearchResponseDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of SearchResponseDsml. |
|
SearchResponseDsml(LdapApiService codec,
Message response)
Creates a new getDecoratedMessage() of SearchResponseDsml. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator |
|---|
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, getType, hasControl, put, removeControl, setMessageId |
| 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.api.ldap.model.message.Message |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
| Constructor Detail |
|---|
public SearchResponseDsml(LdapApiService codec)
public SearchResponseDsml(LdapApiService codec,
Message response)
response - the LDAP response message to decorate| Method Detail |
|---|
public boolean addResponse(DsmlDecorator<? extends Response> response)
response - the response to add
public boolean removeResponse(DsmlDecorator<? extends Response> response)
response - the response to remove
public org.dom4j.Element toDsml(org.dom4j.Element root)
root - the root dom4j Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||