|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.suggestion.EPPSuggestionRecord
public class EPPSuggestionRecord
A Record associates a domain label with Cell objects to be returned in a Grid. Each Cell represents a Top Level Domain and associated scores. Taken together, a Record associates a Domain label with various TLDs and scores.
| Constructor Summary | |
|---|---|
EPPSuggestionRecord()
Constructor. |
|
EPPSuggestionRecord(org.w3c.dom.Element aElement)
Constructor. |
|
EPPSuggestionRecord(java.lang.String aName)
Constructor. |
|
EPPSuggestionRecord(java.lang.String aName,
java.lang.String aSource,
java.lang.String aMoreLikeThis,
java.lang.Integer aPpcValue)
Constructor. |
|
EPPSuggestionRecord(java.lang.String aName,
java.lang.String aSource,
java.lang.String aMoreLikeThis,
java.lang.Integer aPpcValue,
java.lang.String aUName)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addCell(EPPSuggestionCell aCell)
Add a cell. |
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)
|
java.util.List<EPPSuggestionCell> |
getCells()
Cells getter. |
java.lang.String |
getMoreLikeThis()
More like this getter. |
java.lang.String |
getName()
Ascii name getter. |
java.lang.Integer |
getPpcValue()
Ppc Value getter. |
java.lang.String |
getSource()
Source getter. |
java.lang.String |
getUName()
Unicode name getter. |
boolean |
isSetMoreLikeThis()
Is more like this value set. |
boolean |
isSetSource()
Is source value set. |
boolean |
isSetUName()
Is uName value set. |
void |
resetCells()
Reset cells. |
void |
setMoreLikeThis(java.lang.String aMoreLikeThis)
More like this setter. |
void |
setName(java.lang.String aName)
Ascii name setter. |
void |
setPpcValue(int aPpcValue)
Ppc value setter. |
void |
setPpcValue(java.lang.Integer aPpcValue)
Ppc value setter. |
void |
setPpcValue(java.lang.String aPpcValue)
Ppc value setter. |
void |
setSource(java.lang.String aSource)
Source setter. |
void |
setUName(java.lang.String aUName)
Unicode name 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 EPPSuggestionRecord()
public EPPSuggestionRecord(org.w3c.dom.Element aElement)
throws EPPDecodeException
aElement - a dom element.
EPPDecodeExceptionpublic EPPSuggestionRecord(java.lang.String aName)
aName - a name
public EPPSuggestionRecord(java.lang.String aName,
java.lang.String aSource,
java.lang.String aMoreLikeThis,
java.lang.Integer aPpcValue)
aName - a nameaSource - a sourceaMoreLikeThis - a more like thisaPpcValue - a ppc value
public EPPSuggestionRecord(java.lang.String aName,
java.lang.String aSource,
java.lang.String aMoreLikeThis,
java.lang.Integer aPpcValue,
java.lang.String aUName)
aName - a nameaSource - a sourceaMoreLikeThis - a more like thisaPpcValue - a ppc valueaUName - a unicode name| Method Detail |
|---|
public void addCell(EPPSuggestionCell aCell)
throws InvalidValueException
aCell - a cell
InvalidValueExceptionpublic java.util.List<EPPSuggestionCell> getCells()
public java.lang.String getMoreLikeThis()
public java.lang.String getUName()
public java.lang.String getName()
public java.lang.Integer getPpcValue()
public java.lang.String getSource()
public boolean isSetMoreLikeThis()
public boolean isSetUName()
public boolean isSetSource()
public void resetCells()
public void setMoreLikeThis(java.lang.String aMoreLikeThis)
aMoreLikeThis - more like this flagpublic void setUName(java.lang.String aUName)
aUName - a unicode namepublic void setName(java.lang.String aName)
aName - a ascii namepublic void setPpcValue(int aPpcValue)
aPpcValue - a ppc valuepublic void setPpcValue(java.lang.Integer aPpcValue)
aPpcValue - a ppc valuepublic void setPpcValue(java.lang.String aPpcValue)
aPpcValue - a ppc value as stringpublic void setSource(java.lang.String aSource)
aSource - a sourcepublic 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 | |||||||||