|
||||||||||
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.
EPPDecodeException
public EPPSuggestionRecord(java.lang.String aName)
aName
- a namepublic 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 valuepublic 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 nameMethod Detail |
---|
public void addCell(EPPSuggestionCell aCell) throws InvalidValueException
aCell
- a cell
InvalidValueException
public 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.Object
String
if successful;
ERROR
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
EPPCodecComponent
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPCodecComponent
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPCodecComponent
aElement
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 EPPCodecComponent
aElement
- 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
EPPCodecComponent
EPPCommand
is
created and is used to append the attribute nodes of
EPPCommand
.
encode
in interface EPPCodecComponent
aDocument
- 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 |