public class SearchResultEntryDsml extends LdapResponseDecorator implements DsmlDecorator
instance
ldapMessageLength
parent
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, 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 SearchResultEntryDsml()
public SearchResultEntryDsml(SearchResultEntryCodec 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 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–2013 The Apache Software Foundation. All rights reserved.