public class EPPLoginSecData extends java.lang.Object implements EPPCodecComponent
EPPResponse to support passing security
event information back to the client.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPLoginSecData. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPLoginSecData. |
| Constructor and Description |
|---|
EPPLoginSecData()
Default constructor for
EPPLoginSecData. |
EPPLoginSecData(java.util.List<EPPLoginSecEvent> aEvents)
EPPLoginSecData constructor that takes the list of security
events. |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(EPPLoginSecEvent aEvent)
Adds an event to the list of security events.
|
java.lang.Object |
clone()
Clone an
EPPCodecComponent instance. |
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
EPPLoginSecData with this instance. |
java.util.List<EPPLoginSecEvent> |
getEvents()
Gets the list of security events.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
boolean |
hasEvent()
Has at least one set security event?
|
void |
setEvents(java.util.List<EPPLoginSecEvent> aEvents)
Sets the list of security events.
|
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
EPPLoginSecData.public static final java.lang.String ELM_NAME
EPPLoginSecData.public EPPLoginSecData()
EPPLoginSecData.public EPPLoginSecData(java.util.List<EPPLoginSecEvent> aEvents)
EPPLoginSecData constructor that takes the list of security
events.aEvents - List of security events.public boolean hasEvent()
true if there is at least one security event;
false otherwise.public void addEvent(EPPLoginSecEvent aEvent)
aEvent - Event to add.public java.util.List<EPPLoginSecEvent> getEvents()
EPPLoginSecEvent instances. The list should never
be null.public void setEvents(java.util.List<EPPLoginSecEvent> aEvents)
aEvents - List of EPPLoginSecEvent instances.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factoryEPPEncodeException - Error encoding EPPLoginSecDatapublic 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 EPPCodecComponentaElement - Element to decodeEPPDecodeException - Error decoding Elementpublic boolean equals(java.lang.Object aObject)
EPPLoginSecData with this instance.equals in class java.lang.ObjectaObject - Object to compare with.true if equal; false otherwise.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent instance.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPLoginSecDatajava.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.ObjectString if successful; ERROR
otherwise.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.