Class EPPLoginSecPolicyInfData
java.lang.Object
com.verisign.epp.codec.loginsecpolicy.v04.EPPLoginSecPolicyInfData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Login Security Policy Create Extension that enables a client to pass the
login security policy information with a registry info response.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an emptyEPPLoginSecPolicyInfDataobject.Creates a newEPPLoginSecPolicyInfDataobject that will set the login security policy for the system. -
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 ofEPPLoginSecPolicyInfDatawith this instance.Returns the XML namespace associated with theEPPCodecComponent.Gets the contained system of the extension.voidsetSystem(EPPLoginSecPolicySystem aSystem) Sets the contained system of the extension.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPLoginSecPolicyInfData.- See Also:
-
ELM_NAME
XML root tag forEPPLoginSecPolicyInfData.- See Also:
-
-
Constructor Details
-
EPPLoginSecPolicyInfData
public EPPLoginSecPolicyInfData()Creates an emptyEPPLoginSecPolicyInfDataobject.systemis set tonull. UsesetSystemto setsystemattribute before sending the info response. -
EPPLoginSecPolicyInfData
Creates a newEPPLoginSecPolicyInfDataobject that will set the login security policy for the system.- Parameters:
aSystem- Instance ofEPPLoginSecPolicySystemto create
-
-
Method Details
-
getSystem
Gets the contained system of the extension.- Returns:
- Instance of contained
EPPLoginSecPolicySystem
-
setSystem
Sets the contained system of the extension.- Parameters:
aSystem- Instance ofEPPLoginSecPolicySystem
-
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 encodingEPPLoginSecPolicyInfData
-
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
EPPLoginSecPolicyInfData - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPLoginSecPolicyInfDatawith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-