|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.LdapMessageCodec
org.apache.directory.shared.dsmlv2.LdapMessageDecorator
org.apache.directory.shared.dsmlv2.reponse.LdapResponseDecorator
org.apache.directory.shared.dsmlv2.reponse.SearchResultEntryDsml
public class SearchResultEntryDsml
DSML Decorator for SearchResultEntry
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.dsmlv2.LdapMessageDecorator |
|---|
instance |
| Fields inherited from class org.apache.directory.shared.ldap.codec.LdapMessageCodec |
|---|
ldapMessageLength |
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
SearchResultEntryDsml()
Creates a new instance of SearchResultEntryDsml. |
|
SearchResultEntryDsml(SearchResultEntryCodec ldapMessage)
Creates a new instance of SearchResultEntryDsml. |
|
| Method Summary | |
|---|---|
void |
addAttributeValue(java.lang.Object value)
Add a new value to the current attribute |
void |
addAttributeValues(java.lang.String type)
Create a new attributeValue |
java.lang.String |
getCurrentAttributeValueType()
|
Entry |
getEntry()
Get the entry. |
MessageTypeEnum |
getMessageType()
|
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 |
| Methods inherited from class org.apache.directory.shared.dsmlv2.reponse.LdapResponseDecorator |
|---|
getLdapResponseLength, getLdapResult, setLdapResult |
| Methods inherited from class org.apache.directory.shared.ldap.codec.LdapMessageCodec |
|---|
addControls, encode, getCodecControl, initControls, toString |
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
getTlvId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchResultEntryDsml()
public SearchResultEntryDsml(SearchResultEntryCodec ldapMessage)
ldapMessage - the message to decorate| Method Detail |
|---|
public MessageTypeEnum getMessageType()
getMessageType in class LdapMessageDecoratorpublic org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecorator
toDsml in interface DsmlDecoratorroot - the root dom4j Element
public 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(java.lang.String type)
type - The attribute's namepublic void addAttributeValue(java.lang.Object value)
value - public java.lang.String getCurrentAttributeValueType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||