|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.defReg.EPPDefRegCheckResult
public class EPPDefRegCheckResult
EPPDomainCheckResult represents the result of an individual
defReg name ping. The attributes of EPPDomainCheckResult
include the defReg name and attributes namely level which is either
"premium" or "standard" and boolean value indicating if the defReg name is
already available. defReg reason must be set before invoking
encode if the available flag is set to false.
EPPDefRegCheckResp,
Serialized Form| Constructor Summary | |
|---|---|
EPPDefRegCheckResult()
Default constructor for EPPDefRegCheckResult. |
|
EPPDefRegCheckResult(java.lang.String aName,
java.lang.String aLevel,
boolean aIsAvailable)
Constructor for EPPDefRegCheckResult that includes the
defReg name and the is available flag. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPDefRegCheckResult. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPDefRegCheckResult 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 EPPDefRegCheckResult instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPDefRegPingResp with this
instance. |
java.lang.String |
getDefRegReason()
Gets defReg reason. |
java.lang.String |
getLanguage()
Sets defReg reason to check. |
java.lang.String |
getLevel()
Gets the defReg level associated with the result. |
java.lang.String |
getName()
Gets the defReg name associated with the result. |
boolean |
isAvailable()
Gets if the defReg associated with EPPDomainCheckResult is
available. |
void |
setDefRegReason(java.lang.String aReason)
Sets defReg reason. |
void |
setIsAvailable(boolean aIsAvailable)
Sets if the defReg associated with EPPDefRegCheckResult is
available. |
void |
setLanguage(java.lang.String aLang)
Sets language attribute. |
void |
setLevel(java.lang.String aLevel)
Sets the defReg level associated with the result. |
void |
setName(java.lang.String aName)
Sets the defReg 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. |
void |
validate()
Validate the state of the EPPDefRegCreateCmd instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPDefRegCheckResult()
EPPDefRegCheckResult. the
defaults include the following: null
null
true
encode.
public EPPDefRegCheckResult(java.lang.String aName,
java.lang.String aLevel,
boolean aIsAvailable)
EPPDefRegCheckResult that includes the
defReg name and the is available flag.
aName - DefReg name associated with resultaLevel - DefReg level associated with result, which should be
either EPPDefRegName.LEVEL_STANDARD or
EPPDefRegName.LEVEL_STANDARD.aIsAvailable - Is the defReg name available?| Method Detail |
|---|
public java.lang.String getName()
null otherwise.public void setName(java.lang.String aName)
aName - DefReg Name associated with the result.public java.lang.String getLevel()
EPPDefRegName.LEVEL_STANDARD or
EPPDefRegName.LEVEL_STANDARD,
null otherwise.public void setLevel(java.lang.String aLevel)
aLevel - DefReg Level associated with the result, which should be
either EPPDefRegName.LEVEL_STANDARD or
EPPDefRegName.LEVEL_STANDARD.public boolean isAvailable()
EPPDomainCheckResult is
available.
public void setIsAvailable(boolean aIsAvailable)
EPPDefRegCheckResult is
available.
aIsAvailable - Is the defReg available?public void setDefRegReason(java.lang.String aReason)
aReason - DefReg Reason.public java.lang.String getDefRegReason()
public void setLanguage(java.lang.String aLang)
aLang - Sets defReg reason language attribute.public java.lang.String getLanguage()
public void validate()
throws EPPEncodeException
EPPDefRegCreateCmd instance. A
valid state means that all of the required attributes have been set. If
validateState returns without an exception, the state is valid. If
the state is not valid, the EPPCodecException will
contain a description of the error. throws EPPCodecException
State error. This will contain the name of the attribute that is
not valid.
EPPEncodeException - DOCUMENT ME!
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDefRegCheckResult instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element
factory.
EPPDefRegCheckResult instance.
EPPEncodeException - Unable to encode
EPPDefRegCheckResult instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDefRegCheckResult attributes from the
aElement DOM Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode
EPPDefRegCheckResult from.
EPPDecodeException - Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPDefRegPingResp with this
instance.
equals in class java.lang.ObjectaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDefRegCheckResult.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPDefRegCheckResult
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.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||