public class EPPLoginSecPolicyInfData extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPLoginSecPolicyInfData . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPLoginSecPolicyInfData . |
Constructor and Description |
---|
EPPLoginSecPolicyInfData()
Creates an empty
EPPLoginSecPolicyInfData object. |
EPPLoginSecPolicyInfData(EPPLoginSecPolicySystem aSystem)
Creates a new
EPPLoginSecPolicyInfData object that will set the
login security policy for the system. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clone an
EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
Decode a DOM element tree to initialize the instance attributes.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode instance into a DOM element tree.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPLoginSecPolicyInfData with this
instance. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPLoginSecPolicySystem |
getSystem()
Gets the contained system of the extension.
|
void |
setSystem(EPPLoginSecPolicySystem aSystem)
Sets the contained system of the extension.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
EPPLoginSecPolicyInfData
.public static final java.lang.String ELM_NAME
EPPLoginSecPolicyInfData
.public EPPLoginSecPolicyInfData()
EPPLoginSecPolicyInfData
object. system
is set to null
. Use setSystem
to set system
attribute before sending the info response.public EPPLoginSecPolicyInfData(EPPLoginSecPolicySystem aSystem)
EPPLoginSecPolicyInfData
object that will set the
login security policy for the system.aSystem
- Instance of EPPLoginSecPolicySystem
to createpublic EPPLoginSecPolicySystem getSystem()
EPPLoginSecPolicySystem
public void setSystem(EPPLoginSecPolicySystem aSystem)
aSystem
- Instance of EPPLoginSecPolicySystem
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factoryEPPEncodeException
- Error encoding EPPLoginSecPolicyInfData
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is used to
traverse the DOM nodes for instance attribute values.decode
in interface EPPCodecComponent
aElement
- Element
to decodeEPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLoginSecPolicyInfData
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful; ERROR
otherwise.public boolean equals(java.lang.Object aObject)
EPPLoginSecPolicyInfData
with this
instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if equal; false
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.