|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.emailFwd.EPPEmailFwdCheckResult
public class EPPEmailFwdCheckResult
EPPEmailFwdCheckResult
represents the result of an individual
emailFwd name ping. The attributes of EPPEmailFwdCheckResult
include the emailFwd name and a boolean value indicating if the
emailFwd name is already available. emailFwd reason
must be
set before invoking encode
if the available flag is set to
false
.
EPPEmailFwdCheckResp
,
Serialized FormConstructor Summary | |
---|---|
EPPEmailFwdCheckResult()
Default constructor for EPPEmailFwdCheckResult . |
|
EPPEmailFwdCheckResult(java.lang.String aName,
boolean aIsAvailable)
Constructor for EPPEmailFwdCheckResult that includes the
emailFwd name and the is available flag. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPEmailFwdCheckResult . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPEmailFwdCheckResult attributes from the
aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPEmailFwdCheckResult instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPEmailFwdPingResp with this
instance. |
java.lang.String |
getEmailFwdReason()
Gets emailFwd reason. |
java.lang.String |
getLanguage()
Sets emailFwd reason to check. |
java.lang.String |
getName()
Gets the emailFwd name associated with the result. |
boolean |
isAvailable()
Gets if the emailFwd associated with EPPEmailFwdCheckResult
is available. |
void |
setEmailFwdReason(java.lang.String aReason)
Sets emailFwd reason. |
void |
setIsAvailable(boolean aIsAvailable)
Sets if the emailFwd associated with EPPEmailFwdCheckResult
is available. |
void |
setLanguage(java.lang.String aLang)
Sets language attribute. |
void |
setName(java.lang.String aName)
Sets the emailFwd name associated with the result. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPEmailFwdCheckResult()
EPPEmailFwdCheckResult
. the
defaults include the following: null
true
encode
.
public EPPEmailFwdCheckResult(java.lang.String aName, boolean aIsAvailable)
EPPEmailFwdCheckResult
that includes the
emailFwd name and the is available flag.
aName
- EmailFwd name associated with resultaIsAvailable
- Is the emailFwd name available?Method Detail |
---|
public java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- EmailFwd Name associated with the result.public boolean isAvailable()
EPPEmailFwdCheckResult
is available.
public void setIsAvailable(boolean aIsAvailable)
EPPEmailFwdCheckResult
is available.
aIsAvailable
- Is the emailFwd available?public void setEmailFwdReason(java.lang.String aReason)
aReason
- EmailFwd Reason.public java.lang.String getEmailFwdReason()
public void setLanguage(java.lang.String aLang)
aLang
- Sets emailFwd reason language attribute.public java.lang.String getLanguage()
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPEmailFwdCheckResult
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element
factory.
EPPEmailFwdCheckResult
instance.
EPPEncodeException
- Unable to encode
EPPEmailFwdCheckResult
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPEmailFwdCheckResult
attributes from the
aElement DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPEmailFwdCheckResult
from.
EPPDecodeException
- Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPEmailFwdPingResp
with this
instance.
equals
in class java.lang.Object
aObject
- Object to compare with.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPEmailFwdCheckResult
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPEmailFwdCheckResult
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 java.lang.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |