com.neulevel.epp.core
Class EppHello
java.lang.Object
|
+--com.neulevel.epp.core.EppEntity
|
+--com.neulevel.epp.core.EppHello
- public class EppHello
- extends EppEntity
This EppHello
class implements EPP Hello entity used in
the EPP Protocol initialization.
- Version:
- $Revision$ $Date$
- Author:
- Ning Zhang ning.zhang@neustar.com
Constructor Summary |
EppHello()
Creates an EppHello object |
Method Summary |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppHello object. |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppHello object into an XML element |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EppHello
public EppHello()
- Creates an
EppHello
object
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
- Converts the
EppHello
object into an XML element
- Overrides:
- toXML in class EppEntity
- Parameters:
doc
- the XML Document
objecttag
- the tag/element name for the EppHello
object- Returns:
- an
Element
object
fromXML
public static EppEntity fromXML(org.w3c.dom.Node root)
- Converts an XML element into an
EppHello
object.
The caller of this method must make sure that the root node is of
the EPP addrType.
- Parameters:
root
- root node for an EppHello
object in XML
format- Returns:
- an
EppHello
object, or null if the node
is invalid
toString
public java.lang.String toString()
- Overrides:
- toString in class EppEntity
Copyright © 2001 NeuStar, Inc. All Rights Reserved.