Package com.verisign.epp.codec.ttl.v1_0
Class EPPTtlCreate
java.lang.Object
com.verisign.epp.codec.ttl.v1_0.EPPTtlExtension
com.verisign.epp.codec.ttl.v1_0.EPPTtlCreate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
TTL Create Extension that enables a client to pass the TTL values with a
create command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPTtlCreate.EPPTtlCreate(EPPTtl aTtl) Constructor forEPPTtlCreatethat takes a single TTL.EPPTtlCreate(List<EPPTtl> aTtls) Constructor forEPPTtlCreatethat a list of TTLs. -
Method Summary
Modifier and TypeMethodDescriptionEncode of aEPPTtlCreateinstance that includes checks of the TTLs.protected StringReturns the local name "create" for the create extension.Returns the XML namespace associated with theEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPTtlCreate.- See Also:
-
ELM_NAME
XML root tag forEPPTtlCreate.- See Also:
-
-
Constructor Details
-
EPPTtlCreate
public EPPTtlCreate()Default constructor forEPPTtlCreate. -
EPPTtlCreate
Constructor forEPPTtlCreatethat takes a single TTL.- Parameters:
aTtl- A single TTL value
-
EPPTtlCreate
Constructor forEPPTtlCreatethat a list of TTLs.- Parameters:
aTtls- A list of TTLs
-
-
Method Details
-
getLocalName
Returns the local name "create" for the create extension.- Specified by:
getLocalNamein classEPPTtlExtension- Returns:
- Local name "create" for the create extension.
-
encode
Encode of aEPPTtlCreateinstance 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.
-