public class SearchResultReferenceDsml extends AbstractResponseDsml<SearchResultReference> implements SearchResultReference
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageId
public SearchResultReferenceDsml(LdapApiService codec)
codec
- The LDAP Service to usepublic SearchResultReferenceDsml(LdapApiService codec, SearchResultReference ldapMessage)
codec
- The LDAP Service to useldapMessage
- 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–2023 The Apache Software Foundation. All rights reserved.