Package com.verisign.epp.codec.ttl.v1_0
Class EPPTtlUpdate
java.lang.Object
com.verisign.epp.codec.ttl.v1_0.EPPTtlExtension
com.verisign.epp.codec.ttl.v1_0.EPPTtlUpdate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
TTL Create Extension that enables a client to pass the TTL values with an
update command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPTtlUpdate.EPPTtlUpdate(EPPTtl aTtl) Constructor forEPPTtlUpdatethat takes a single TTL.EPPTtlUpdate(List<EPPTtl> aTtls) Constructor forEPPTtlUpdatethat a list of TTLs. -
Method Summary
Modifier and TypeMethodDescriptionEncode of aEPPTtlUpdateinstance that includes checks of the TTLs.protected StringReturns the local name "update" for the update extension.Returns the XML namespace associated with theEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPTtlUpdate.- See Also:
-
ELM_NAME
XML root tag forEPPTtlUpdate.- See Also:
-
-
Constructor Details
-
EPPTtlUpdate
public EPPTtlUpdate()Default constructor forEPPTtlUpdate. -
EPPTtlUpdate
Constructor forEPPTtlUpdatethat takes a single TTL.- Parameters:
aTtl- A single TTL value
-
EPPTtlUpdate
Constructor forEPPTtlUpdatethat a list of TTLs.- Parameters:
aTtls- A list of TTLs
-
-
Method Details
-
getLocalName
Returns the local name "update" for the update extension.- Specified by:
getLocalNamein classEPPTtlExtension- Returns:
- Local name "update" for the update extension.
-
encode
Encode of aEPPTtlUpdateinstance that includes checks of the TTLs.- Specified by:
encodein interfaceEPPCodecComponent- Overrides:
encodein classEPPTtlExtension- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPTtlExtension
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-