public class EPPNameVerificationCheckCmd extends EPPCheckCmd
EPPNameVerificationCheckCmd is used for the Name
Verification (DNV) Check Command, that is used to determine if the domain
label's can be used to create a Domain Name Verification object. It provides
a hint that allows a client to anticipate the success or failure of create a
DNV object using the create command.EPPNameVerificationCheckResp,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the name verification check command
|
static int |
MAX_LABELS
Maximum number of labels to check at once.
|
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE| Constructor and Description |
|---|
EPPNameVerificationCheckCmd()
EPPNameVerificationCheckCmd default constructor. |
EPPNameVerificationCheckCmd(java.lang.String aTransId)
EPPNameVerificationCheckCmd constructor with just the
client transaction identifier. |
EPPNameVerificationCheckCmd(java.lang.String aTransId,
java.util.List<java.lang.String> aNames)
EPPNameVerificationCheckCmd constructor that will check a
list of labels. |
EPPNameVerificationCheckCmd(java.lang.String aTransId,
java.lang.String aName)
EPPNameVerificationCheckCmd constructor that will check an
individual label. |
| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(java.lang.String aLabel)
Add a label to the list of labels.
|
java.lang.Object |
clone()
Clone
EPPNameVerificationCheckCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPNameVerificationCheckCmd attributes from the
aElement DOM Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPNameVerificationCheckCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameVerificationCheckCmd with this
instance. |
java.util.List<java.lang.String> |
getLabels()
Gets labels to check.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPNameVerificationCheckCmd. |
void |
setLabel(java.lang.String aName)
Sets label to check.
|
void |
setLabels(java.util.List<java.lang.String> aLabels)
Sets labels to check.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
doGenDecode, doGenEncode, getTypeaddExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic static final int MAX_LABELS
public static final java.lang.String ELM_LOCALNAME
public EPPNameVerificationCheckCmd()
EPPNameVerificationCheckCmd default constructor.public EPPNameVerificationCheckCmd(java.lang.String aTransId)
EPPNameVerificationCheckCmd constructor with just the
client transaction identifier.aTransId - Transaction Id associated with command.public EPPNameVerificationCheckCmd(java.lang.String aTransId,
java.lang.String aName)
EPPNameVerificationCheckCmd constructor that will check an
individual label.aTransId - Transaction Id associated with command.aName - Label name to checkpublic EPPNameVerificationCheckCmd(java.lang.String aTransId,
java.util.List<java.lang.String> aNames)
EPPNameVerificationCheckCmd constructor that will check a
list of labels.aTransId - Transaction Id associated with command.aNames - List of labels to checkpublic java.lang.String getNamespace()
EPPNameVerificationCheckCmd.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPNameVerificationMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPNameVerificationCheckCmd with this
instance.equals in class EPPCheckCmdaObject - Object to compare with.true if equal; false otherwise.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPNameVerificationCheckCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPNameVerificationCheckCmdjava.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 EPPCommandString if successful;
ERROR otherwise.public void setLabel(java.lang.String aName)
aName - Label to check.public java.util.List<java.lang.String> getLabels()
String's.public void setLabels(java.util.List<java.lang.String> aLabels)
aLabels - Labels to check.public void addLabel(java.lang.String aLabel)
aLabel - Label to addprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPNameVerificationCheckCmd instance.doEncode in class EPPCheckCmdaDocument - DOM Document that is being built. Used as an Element factory.EPPNameVerificationCheckCmd instance.EPPEncodeException - Unable to encode EPPNameVerificationCheckCmd
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPNameVerificationCheckCmd attributes from the
aElement DOM Element tree.doDecode in class EPPCheckCmdaElement - Root DOM Element to decode
EPPNameVerificationCheckCmd from.EPPDecodeException - Unable to decode aElement