org.apache.directory.api.dsmlv2.reponse
Class ModDNResponseDsml
java.lang.Object
org.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator<E>
org.apache.directory.api.dsmlv2.reponse.AbstractResponseDsml<E>
org.apache.directory.api.dsmlv2.reponse.AbstractResultResponseDsml<ModifyDnResponse>
org.apache.directory.api.dsmlv2.reponse.ModDNResponseDsml
- All Implemented Interfaces:
- DsmlDecorator<ModifyDnResponse>, Message, ModifyDnResponse, Response, ResultResponse
public class ModDNResponseDsml
- extends AbstractResultResponseDsml<ModifyDnResponse>
- implements ModifyDnResponse
DSML Decorator for ModDNResponse
- Author:
- Apache Directory Project
|
Method Summary |
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message. |
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.api.dsmlv2.AbstractDsmlMessageDecorator |
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put, removeControl, setMessageId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModDNResponseDsml
public ModDNResponseDsml(LdapApiService codec)
- Creates a new getDecoratedMessage() of ModDNResponseDsml.
ModDNResponseDsml
public ModDNResponseDsml(LdapApiService codec,
ModifyDnResponse ldapMessage)
- Creates a new getDecoratedMessage() of ModDNResponseDsml.
- Parameters:
ldapMessage - the message to decorate
getType
public MessageTypeEnum getType()
- Gets the LDAP message type code associated with this Message. Each
request and response type has a unique message type code defined by the
protocol in RFC 2251.
- Specified by:
getType in interface Message- Overrides:
getType in class AbstractDsmlMessageDecorator<ModifyDnResponse>
- Returns:
- the message type code.
toDsml
public org.dom4j.Element toDsml(org.dom4j.Element root)
- Converts the request/reponse to its XML representation in the DSMLv2 format
- Specified by:
toDsml in interface DsmlDecorator<ModifyDnResponse>- Specified by:
toDsml in class AbstractResultResponseDsml<ModifyDnResponse>
- Parameters:
root - the root dom4j Element
- Returns:
- the dom4j Element corresponding to the entry.
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.