|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPHello
public class EPPHello
Represents an EPP hello request that is sent by an EPP Client and received
by an EPP Server. EPP MAY be carried over both connection-oriented and
connection-less transport protocols. An EPP client MAY request a
<greeting> from an EPP server at any time by sending a <hello> to a
server. Use of this element is essential in a connection-less environment
where a server can not return a <greeting> in response to a
client-initiated connection. An EPP <hello> SHALL be an empty element
with no child elements.
An EPPHello can be encoded and decoded by
EPPCodec.
An EPPHello request should result in the EPP Server sending
back an EPPGreeting.
EPPGreeting,
Serialized Form| Constructor Summary | |
|---|---|
EPPHello()
Allocates a new EPPHello. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPHello. |
void |
decode(org.w3c.dom.Element aElement)
decode EPPHello from a DOM element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode EPPHello into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPHello compare. |
java.lang.String |
getNamespace()
Gets the associated EPP namespace. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPHello()
EPPHello. EPPHello contains
no attributes.
| Method Detail |
|---|
public java.lang.String getNamespace()
EPPCodec.NS.
getNamespace in interface EPPMessage
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPHello into a DOM element tree. The <hello>
element is created and returned.
encode in interface EPPCodecComponentaDocument - DOCUMENT ME!
EPPEncodeException - Error encoding the DOM element tree.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPHello from a DOM element tree. The "hello"
element needs to be the value of the aElement argument.
Since EPPHello contains no attribute, no attributes need
to be set the decode.
decode in interface EPPCodecComponentaElement - <hello> root element tree.
EPPDecodeException - Error decoding the DOM element tree.public boolean equals(java.lang.Object aObject)
EPPHello compare.
equals in class java.lang.ObjectaObject - EPPHello instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPHello.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPHello
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.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||