Package com.verisign.epp.codec.nv
Class EPPNameVerificationCheckCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCheckCmd
com.verisign.epp.codec.nv.EPPNameVerificationCheckCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
The
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.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for the name verification check commandstatic final intMaximum number of labels to check at once.Fields inherited from class com.verisign.epp.codec.gen.EPPCommand
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 Summary
ConstructorsConstructorDescriptionEPPNameVerificationCheckCmddefault constructor.EPPNameVerificationCheckCmd(String aTransId) EPPNameVerificationCheckCmdconstructor with just the client transaction identifier.EPPNameVerificationCheckCmd(String aTransId, String aName) EPPNameVerificationCheckCmdconstructor that will check an individual label.EPPNameVerificationCheckCmd(String aTransId, List<String> aNames) EPPNameVerificationCheckCmdconstructor that will check a list of labels. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a label to the list of labels.clone()CloneEPPNameVerificationCheckCmd.protected voidDecode theEPPNameVerificationCheckCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPNameVerificationCheckCmdinstance.booleanCompare an instance ofEPPNameVerificationCheckCmdwith this instance.Gets labels to check.Gets the EPP command Namespace associated withEPPNameVerificationCheckCmd.voidSets label to check.voidSets labels to check.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPCheckCmd
doGenDecode, doGenEncode, getTypeMethods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getKey, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId
-
Field Details
-
MAX_LABELS
public static final int MAX_LABELSMaximum number of labels to check at once.- See Also:
-
ELM_LOCALNAME
Constant for the name verification check command- See Also:
-
-
Constructor Details
-
EPPNameVerificationCheckCmd
public EPPNameVerificationCheckCmd()EPPNameVerificationCheckCmddefault constructor. -
EPPNameVerificationCheckCmd
EPPNameVerificationCheckCmdconstructor with just the client transaction identifier.- Parameters:
aTransId- Transaction Id associated with command.
-
EPPNameVerificationCheckCmd
EPPNameVerificationCheckCmdconstructor that will check an individual label.- Parameters:
aTransId- Transaction Id associated with command.aName- Label name to check
-
EPPNameVerificationCheckCmd
EPPNameVerificationCheckCmdconstructor that will check a list of labels.- Parameters:
aTransId- Transaction Id associated with command.aNames-Listof labels to check
-
-
Method Details
-
getNamespace
Gets the EPP command Namespace associated withEPPNameVerificationCheckCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPNameVerificationMapFactory.NS
-
equals
Compare an instance ofEPPNameVerificationCheckCmdwith this instance.- Overrides:
equalsin classEPPCheckCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
CloneEPPNameVerificationCheckCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPNameVerificationCheckCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
setLabel
Sets label to check.- Parameters:
aName- Label to check.
-
getLabels
Gets labels to check.- Returns:
- List of labels
String's.
-
setLabels
Sets labels to check.- Parameters:
aLabels- Labels to check.
-
addLabel
Add a label to the list of labels.- Parameters:
aLabel- Label to add
-
doEncode
Encode a DOM Element tree from the attributes of theEPPNameVerificationCheckCmdinstance.- Specified by:
doEncodein classEPPCheckCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationCheckCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationCheckCmdinstance.
-
doDecode
Decode theEPPNameVerificationCheckCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPCheckCmd- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCheckCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-