public class SearchResultEntryDsml extends LdapResponseDecorator implements DsmlDecorator
instanceldapMessageLengthparent| Constructor and Description |
|---|
SearchResultEntryDsml()
Creates a new instance of SearchResultEntryDsml.
|
SearchResultEntryDsml(SearchResultEntryCodec ldapMessage)
Creates a new instance of SearchResultEntryDsml.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeValue(Object value)
Add a new value to the current attribute
|
void |
addAttributeValues(String type)
Create a new attributeValue
|
String |
getCurrentAttributeValueType() |
Entry |
getEntry()
Get the entry.
|
MessageTypeEnum |
getMessageType()
Get the message type
|
DN |
getObjectName()
Get the entry DN
|
void |
setEntry(Entry entry)
Initialize the entry.
|
void |
setObjectName(DN objectName)
Set the entry DN
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResponseLength, getLdapResult, setLdapResultaddControl, 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, toStringaddControls, encode, getCodecControl, initControls, toStringgetTlvIdpublic SearchResultEntryDsml()
public SearchResultEntryDsml(SearchResultEntryCodec ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getMessageType()
LdapMessageCodecgetMessageType in class LdapMessageDecoratorpublic org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecoratortoDsml in interface DsmlDecoratorroot - the root dom4j Elementpublic DN getObjectName()
public void setObjectName(DN objectName)
objectName - The objectName to set.public Entry getEntry()
public void setEntry(Entry entry)
entry - the entrypublic void addAttributeValues(String type)
type - The attribute's namepublic void addAttributeValue(Object value)
value - public String getCurrentAttributeValueType()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.