|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.LdapMessageCodec
org.apache.directory.shared.dsmlv2.LdapMessageDecorator
org.apache.directory.shared.dsmlv2.reponse.LdapResponseDecorator
org.apache.directory.shared.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).
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.dsmlv2.LdapMessageDecorator |
---|
instance |
Fields inherited from class org.apache.directory.shared.ldap.codec.LdapMessageCodec |
---|
ldapMessageLength |
Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
parent |
Constructor Summary | |
---|---|
SearchResponseDsml(LdapMessageCodec response)
Creates a new instance of SearchResponseDsml. |
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.directory.shared.dsmlv2.reponse.LdapResponseDecorator |
---|
getLdapResponseLength, getLdapResult, setLdapResult |
Methods inherited from class org.apache.directory.shared.ldap.codec.LdapMessageCodec |
---|
addControls, encode, getCodecControl, initControls, toString |
Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
getTlvId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchResponseDsml(LdapMessageCodec response)
Method Detail |
---|
public boolean addResponse(DsmlDecorator response)
response
- the response to add
public boolean removeResponse(DsmlDecorator response)
response
- the response to remove
public org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecorator
toDsml
in interface DsmlDecorator
root
- the root dom4j Element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |