Class EPPAuthTokenCheckCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCheckCmd
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenCheckCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP AuthToken <check> command, which is used to determine
if an authToken is valid. The <authToken:check> element MUST contain
the following child elements:
- One or more <authToken:authToken> elements that contain the
authToken string. Use
getAuthTokensandsetAuthTokensto get and set the elements. UsesetAuthTokento set an individual authToken.
EPPAuthTokenCheckResp is the concrete EPPReponse associated with
EPPAuthTokenCheckCmd. - See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPAuthTokenCheckCmd.static final StringXML Element Name ofEPPAuthTokenCheckCmdroot element.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
ConstructorsConstructorDescriptionAllocates a newEPPAuthTokenCheckCmdwith default attribute values, which are all set tonull.EPPAuthTokenCheckCmd(String aTransId, EPPAuthTokenData aAuthToken) EPPAuthTokenCheckCmdconstructor that will check an individual authentication token.EPPAuthTokenCheckCmd(String aTransId, List<EPPAuthTokenData> aAuthTokens) EPPAuthTokenCheckCmdconstructor that will check an individual authentication token. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAuthToken(EPPAuthTokenData aAuthToken) Appends to theListof authentication tokenEPPAuthTokenDatainstances to check.clone()CloneEPPAuthTokenCheckCmd.protected voidDecode the EPPAuthTokenCheckCmd attributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of the EPPAuthTokenCheckCmd instance.booleanCompare an instance ofEPPAuthTokenCheckCmdwith this instance.Get the authentication token.Get the EPP command Namespace associated with EPPAuthTokenCheckCmd.voidsetAuthToken(EPPAuthTokenData aAuthToken) Set the authentication token data.voidsetAuthTokens(List<EPPAuthTokenData> aAuthTokens) Set the authentication names 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
-
ELM_LOCALNAME
XML local name forEPPAuthTokenCheckCmd.- See Also:
-
ELM_NAME
XML Element Name ofEPPAuthTokenCheckCmdroot element.- See Also:
-
-
Constructor Details
-
EPPAuthTokenCheckCmd
public EPPAuthTokenCheckCmd()Allocates a newEPPAuthTokenCheckCmdwith default attribute values, which are all set tonull. -
EPPAuthTokenCheckCmd
EPPAuthTokenCheckCmdconstructor that will check an individual authentication token.- Parameters:
aTransId- Transaction Id associated with command.aAuthToken- Authentication tokenEPPAuthTokenDatato check
-
EPPAuthTokenCheckCmd
EPPAuthTokenCheckCmdconstructor that will check an individual authentication token.- Parameters:
aTransId- Transaction Id associated with command.aAuthTokens-Listof authentication tokenEPPAuthTokenDatainstances.
-
-
Method Details
-
getNamespace
Get the EPP command Namespace associated with EPPAuthTokenCheckCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPAuthTokenMapFactory.NS
-
getAuthTokens
Get the authentication token.- Returns:
- Domain Name
-
setAuthToken
Set the authentication token data.- Parameters:
aAuthToken- Authentication Token
-
setAuthTokens
Set the authentication names to check.- Parameters:
aAuthTokens- authentication tokens to check
-
appendAuthToken
Appends to theListof authentication tokenEPPAuthTokenDatainstances to check.- Parameters:
aAuthToken-EPPAuthTokenDatainstance
-
equals
Compare an instance ofEPPAuthTokenCheckCmdwith this instance.- Overrides:
equalsin classEPPCheckCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
CloneEPPAuthTokenCheckCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPAuthTokenCheckCmd - 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.
-
doEncode
Encode a DOM Element tree from the attributes of the EPPAuthTokenCheckCmd instance.- Specified by:
doEncodein classEPPCheckCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the EPPAuthTokenCheckCmd instance.
- Throws:
EPPEncodeException- Unable to encode EPPAuthTokenCheckCmd instance.
-
doDecode
Decode the EPPAuthTokenCheckCmd attributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPCheckCmd- Parameters:
aElement- Root DOM Element to decode EPPAuthTokenCheckCmd from.- Throws:
EPPDecodeException- Unable to decode aElement
-