|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.suggestion.EPPSuggestionCell
public class EPPSuggestionCell
A Cell is an element within a Record, which in turn is an element within the Grid response. A Cell associates a score and status with a TLD. The encapsulating record further associates a domain with these scores.
| Constructor Summary | |
|---|---|
EPPSuggestionCell()
Constructor. |
|
EPPSuggestionCell(org.w3c.dom.Element aElement)
Constructor. |
|
EPPSuggestionCell(java.lang.String aTld,
short aScore,
java.lang.String aStatus)
Constructor. |
|
EPPSuggestionCell(java.lang.String aTld,
short aScore,
java.lang.String aStatus,
java.lang.String aUTld)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
clone an EPPCodecComponent. |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree. |
boolean |
equals(java.lang.Object o)
|
UnsignedShort |
getScore()
Score getter. |
StatusEnum |
getStatus()
Status getter. |
java.lang.String |
getTld()
Tld Getter. |
java.lang.String |
getUTld()
uTld Getter. |
boolean |
isSetUTld()
Is uTld value set. |
void |
setScore(short aScore)
Score setter. |
void |
setScore(java.lang.String aScoreAsString)
Score setter. |
void |
setScore(UnsignedShort aScore)
Score setter. |
void |
setStatus(StatusEnum aStatus)
Status setter. |
void |
setStatus(java.lang.String aStatusAsString)
Status setter. |
void |
setTld(java.lang.String aTld)
Tld setter. |
void |
setUTld(java.lang.String aUTld)
uTld setter. |
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 EPPSuggestionCell()
public EPPSuggestionCell(org.w3c.dom.Element aElement)
throws EPPDecodeException
aElement - a dom element
EPPDecodeException
public EPPSuggestionCell(java.lang.String aTld,
short aScore,
java.lang.String aStatus)
throws InvalidValueException
aTld - a tldaScore - a scoreaStatus - a status
InvalidValueException
public EPPSuggestionCell(java.lang.String aTld,
short aScore,
java.lang.String aStatus,
java.lang.String aUTld)
throws InvalidValueException
aTld - a tldaScore - a scoreaStatus - a statusaUTld - a uTld
InvalidValueException| Method Detail |
|---|
public java.lang.String getTld()
public java.lang.String getUTld()
public UnsignedShort getScore()
public StatusEnum getStatus()
public void setTld(java.lang.String aTld)
aTld - a tldpublic void setUTld(java.lang.String aUTld)
aUTld - a uTld
public void setScore(short aScore)
throws InvalidValueException
aScore - a score
InvalidValueException
public void setScore(java.lang.String aScoreAsString)
throws InvalidValueException
aScoreAsString - a score as string
InvalidValueExceptionpublic void setScore(UnsignedShort aScore)
aScore - a score
InvalidValueExceptionpublic void setStatus(StatusEnum aStatus)
aStatus - a status
public void setStatus(java.lang.String aStatusAsString)
throws InvalidValueException
aStatusAsString - a status as string
InvalidValueExceptionpublic boolean isSetUTld()
public 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.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponentEPPCodecComponent.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPCodecComponent
java.lang.CloneNotSupportedException - standard Object.clone exception
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPCodecComponentaElement argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values. EPPCommand is
passed into decode of EPPCommand to be decoded and
used to set the instance attributes.
decode in interface EPPCodecComponentaElement - root DOM element associated with instance
EPPDecodeException - Error decoding the DOM element tree.
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPCodecComponentEPPCommand is
created and is used to append the attribute nodes of
EPPCommand.
encode in interface EPPCodecComponentaDocument - DOM document used as a factory of DOM objects.
EPPEncodeException - Error encoding the DOM element tree.public boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||