|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neulevel.epp.core.EppEntity
The EppEntity
class is the base class for all entities/objects
defined for EPP. All subclasses of EppEntity
need to implement
the following three methods:
fromXML
toXML
toString
Constructor Summary | |
EppEntity()
|
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppEntity object. |
abstract java.lang.String |
toString()
|
protected java.lang.String |
toString(java.lang.String tag)
Converts the EppEntity object into plain XML text string |
abstract org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppEntity object into an XML element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EppEntity()
Method Detail |
public static EppEntity fromXML(org.w3c.dom.Node root)
EppEntity
object.
The caller of this method must make sure that the root node is
of an EPP entity.
root
- root node for an EppEntity
object in
XML format
EppEntity
object, or null if the node
is invalidpublic abstract org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppEntity
object into an XML element
doc
- the XML Document
objecttag
- the tag/element name for the EppEntity
object
Element
objectprotected java.lang.String toString(java.lang.String tag)
EppEntity
object into plain XML text string
tag
- XML tag name for the root node
EppEntity
object
in XML formatpublic abstract java.lang.String toString()
|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |