Class EPPStatusSetAuthToken
java.lang.Object
com.verisign.epp.codec.statusset.v01.EPPStatusSetAuthToken
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Contains the authentication token string that is created by the Authentication
Token Mapping. This is a placeholder object that will be replaced with the
the Authenticaiton Token from the Authentication
Token Mapping.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPStatusSetAuthToken.Converts anEPPAuthTokenDatato anEPPStatusSetAuthToken, which only has the JWS Compact Serialization value.EPPStatusSetAuthToken(String aAuthTokenValue) Constructor forEPPStatusSetAuthTokenthat takes the authentication token string value. -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voidDecode a DOM element tree to initialize the instance attributes.Encode instance into a DOM element tree.booleanCompare an instance ofEPPStatusSetAuthTokenwith this instance.Gets theEPPAuthTokenDatainstance that is set with the auth token value.protected StringReturns the local name "info" for the info extension.Returns the XML namespace associated with theEPPCodecComponent.getValue()Gets the authentication token string value.booleanhasValue()Is the authentication token string value defined?voidSets the authentication token string value.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPStatusSetInfo.- See Also:
-
-
Constructor Details
-
EPPStatusSetAuthToken
public EPPStatusSetAuthToken()Default constructor forEPPStatusSetAuthToken. -
EPPStatusSetAuthToken
Constructor forEPPStatusSetAuthTokenthat takes the authentication token string value.- Parameters:
aAuthTokenValue- Authentication value string value
-
EPPStatusSetAuthToken
Converts anEPPAuthTokenDatato anEPPStatusSetAuthToken, which only has the JWS Compact Serialization value.- Parameters:
aToken-
-
-
Method Details
-
getLocalName
Returns the local name "info" for the info extension.- Returns:
- Local name "info" for the info extension.
-
hasValue
public boolean hasValue()Is the authentication token string value defined?- Returns:
trueif the uthentication token string value is defined;falseotherwise.
-
getValue
Gets the authentication token string value.- Returns:
- Authentication token string value if defined;
nullotherwise.
-
setValue
Sets the authentication token string value.- Parameters:
aAuthTokenValue- The authentication token value to set.
-
getAuthTokenData
Gets theEPPAuthTokenDatainstance that is set with the auth token value.- Returns:
EPPAuthTokenDatainstance initialized with the auth token value.- Throws:
EPPDecodeException
-
encode
Encode instance into a DOM element tree. A DOM Document is passed as an argument and functions as a factory for DOM objects. The root element associated with the instance is created and each instance attribute is appended as a child node.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPStatusSetAuthToken
-
decode
Decode a DOM element tree to initialize the instance attributes. TheaElementargument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement-Elementto decode- Throws:
EPPDecodeException- Error decodingElement
-
clone
clone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPStatusSetAuthToken - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPStatusSetAuthTokenwith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-