public class SearchResultReferenceDsml extends LdapResponseDecorator implements DsmlDecorator
instance
ldapMessageLength
parent
Constructor and Description |
---|
SearchResultReferenceDsml()
Creates a new instance of SearchResultReferenceDsml.
|
SearchResultReferenceDsml(LdapMessageCodec ldapMessage)
Creates a new instance of SearchResultReferenceDsml.
|
Modifier and Type | Method and Description |
---|---|
void |
addSearchResultReference(LdapURL searchResultReference)
Add a new reference to the list.
|
MessageTypeEnum |
getMessageType()
Get the message type
|
List<LdapURL> |
getSearchResultReferences()
Get the list of references
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResponseLength, getLdapResult, setLdapResult
addControl, addLength, computeLength, computeLengthProtocolOp, encode, encodeProtocolOp, getAbandonRequest, getAddRequest, getAddResponse, getBindRequest, getBindResponse, getCompareRequest, getCompareResponse, getControls, getControls, getCurrentControl, getCurrentLength, getDelRequest, getDelResponse, getExpectedLength, getExtendedRequest, getExtendedResponse, getLdapResponse, getMessageId, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getParent, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, setCurrentLength, setExpectedLength, setMessageId, setParent, toString
addControls, encode, getCodecControl, initControls, toString
getTlvId
public SearchResultReferenceDsml()
public SearchResultReferenceDsml(LdapMessageCodec ldapMessage)
ldapMessage
- the message to decoratepublic MessageTypeEnum getMessageType()
LdapMessageCodec
getMessageType
in class LdapMessageDecorator
public org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecorator
toDsml
in interface DsmlDecorator
root
- the root dom4j Elementpublic void addSearchResultReference(LdapURL searchResultReference)
searchResultReference
- The search result referenceCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.