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