public class SearchResultReferenceDsml extends AbstractResponseDsml<SearchResultReference> implements SearchResultReference
TYPE
Constructor and Description |
---|
SearchResultReferenceDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of SearchResultReferenceDsml.
|
SearchResultReferenceDsml(LdapApiService codec,
SearchResultReference ldapMessage)
Creates a new getDecoratedMessage() of SearchResultReferenceDsml.
|
Modifier and Type | Method and Description |
---|---|
void |
addSearchResultReference(LdapUrl searchResultReference)
Add a new reference to the list.
|
Referral |
getReferral()
Gets the sequence of LdapUrls as a Referral instance.
|
Collection<String> |
getSearchResultReferences()
Get the list of references
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
void |
setReferral(Referral referral)
Sets the sequence of LdapUrls as a Referral instance.
|
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, hasControl, put, removeControl, setMessageId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageId
public SearchResultReferenceDsml(LdapApiService codec)
public SearchResultReferenceDsml(LdapApiService codec, SearchResultReference ldapMessage)
ldapMessage
- the message to decoratepublic MessageTypeEnum getType()
getType
in interface Message
getType
in class AbstractDsmlMessageDecorator<SearchResultReference>
public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml
in interface DsmlDecorator<SearchResultReference>
root
- the root dom4j Elementpublic void addSearchResultReference(LdapUrl searchResultReference)
searchResultReference
- The search result referencepublic Collection<String> getSearchResultReferences()
public Referral getReferral()
getReferral
in interface SearchResultReference
public void setReferral(Referral referral)
setReferral
in interface SearchResultReference
referral
- the sequence of LdapUrlsCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.