Package com.verisign.epp.codec.registry
Class EPPRegistrySLA
java.lang.Object
com.verisign.epp.codec.registry.EPPRegistrySLA
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionEPPRegistrySLA(String type, String subtype, String command, double value, String unit) EPPRegistrySLA(String type, String subtype, String command, BigDecimal value, String unit) -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voiddecode a DOM element tree to initialize the instance attributes.encode instance into a DOM element tree.booleanReturns the XML namespace associated with theEPPCodecComponent.getType()getUnit()getValue()voidsetCommand(String command) voidsetSubtype(String subtype) voidvoidvoidsetValue(BigDecimal value) toString()
-
Field Details
-
COMMAND_DOMAIN_CREATE
- See Also:
-
COMMAND_DOMAIN_UPDATE
- See Also:
-
COMMAND_DOMAIN_DELETE
- See Also:
-
COMMAND_CONTACT_CREATE
- See Also:
-
COMMAND_CONTACT_DELETE
- See Also:
-
COMMAND_CONTACT_UPDATE
- See Also:
-
COMMAND_NAMESERVER_CREATE
- See Also:
-
COMMAND_NAMESERVER_DELETE
- See Also:
-
COMMAND_NAMESERVER_UPDATE
- See Also:
-
COMMAND_DOMAIN_CHECK
- See Also:
-
COMMAND_SUGGESTION_INFO
- See Also:
-
COMMAND_LOGIN
- See Also:
-
COMMAND_LOGOUT
- See Also:
-
ELM_NAME
- See Also:
-
ATTR_COMMAND
- See Also:
-
ATTR_TYPE
- See Also:
-
ATTR_SUBTYPE
- See Also:
-
ATTR_UNIT
- See Also:
-
-
Constructor Details
-
EPPRegistrySLA
public EPPRegistrySLA() -
EPPRegistrySLA
-
EPPRegistrySLA
-
-
Method Details
-
encode
Description copied from interface:EPPCodecComponentencode 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.
For example, the <command> element ofEPPCommandis created and is used to append the attribute nodes ofEPPCommand.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM document used as a factory of DOM objects.- Returns:
- instance root DOM element along with attribute child nodes.
- Throws:
EPPEncodeException- Error encoding the DOM element tree.
-
decode
Description copied from interface:EPPCodecComponentdecode 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.
For example, the <command> element ofEPPCommandis passed intodecodeof EPPCommand to be decoded and used to set the instance attributes.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- root DOM element associated with instance- Throws:
EPPDecodeException- Error decoding the DOM element tree.
-
clone
Description copied from interface:EPPCodecComponentclone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPCodecComponent - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
-
toString
-
getValue
-
setValue
-
getUnit
-
setUnit
-
getType
-
setType
-
getCommand
-
setCommand
-
getSubtype
-
setSubtype
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-