public class EPPLogoutCmd extends EPPCommand
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE
Constructor and Description |
---|
EPPLogoutCmd()
Default constructor for EPPLogoutCmd.
|
EPPLogoutCmd(java.lang.String aTransId)
Constructor that takes the transaction id required of all
EPPCommand 's. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPLogoutCmd . |
protected void |
doGenDecode(org.w3c.dom.Element aElement)
decode
EPPLogoutCmd from a DOM element tree. |
protected org.w3c.dom.Element |
doGenEncode(org.w3c.dom.Document aDocument)
encode
EPPLoginCmd into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPLogoutCmd compare. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPLogoutCmd . |
java.lang.String |
getType()
Get the EPP command type associated with
EPPLogoutCmd . |
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public EPPLogoutCmd()
public EPPLogoutCmd(java.lang.String aTransId)
EPPCommand
's.aTransId
- DOCUMENT ME!public java.lang.String getType()
EPPLogoutCmd
.getType
in class EPPCommand
EPPCommand.TYPE_LOGOUT
public java.lang.String getNamespace()
EPPLogoutCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPCodec.NS
protected org.w3c.dom.Element doGenEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLoginCmd
into a DOM element tree. The
<logout> element is created and there are currently no
attribute nodes are appended as children. This method is part of
the Template Design Pattern, where EPPCommand
provides
the public encode
and calls the abstract
doGenEncode
.doGenEncode
in class EPPCommand
aDocument
- DOCUMENT ME!EPPEncodeException
- Error encoding the DOM element tree.protected void doGenDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLogoutCmd
from a DOM element tree. The "logout"
element needs to be the value of the aElement
argument.
This method is part of the Template Design Pattern, where
EPPCommand
provides the public decode
and
calls the abstract doGenDecode
.doGenDecode
in class EPPCommand
aElement
- <logout> root element tree.EPPDecodeException
- Error decoding the DOM element tree.public boolean equals(java.lang.Object aObject)
EPPLogoutCmd
compare.equals
in class EPPCommand
aObject
- EPPLogoutCmd
instance to compare withpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLogoutCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPLogoutCmd
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class EPPCommand
String
if successful;
ERROR
otherwise.Copyright © VeriSign Inc. All Rights Reserved.