com.neulevel.epp.core.response
Class EppResponseDataPoll
java.lang.Object
|
+--com.neulevel.epp.core.EppEntity
|
+--com.neulevel.epp.core.response.EppResponseData
|
+--com.neulevel.epp.core.response.EppResponseDataPoll
- public class EppResponseDataPoll
- extends EppResponseData
This EppResponseDataPoll
class implements EPP Response
Data entity for EPP Command Poll.
- Version:
- $Revision$ $Date$
- Author:
- Ning Zhang ning.zhang@neustar.com
Method Summary |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResponseDataPoll
object. |
EppPollable |
getPollable()
Gets the EppPollable object returned by the EPP poll
poll command |
void |
setPollable(EppPollable object)
Sets the EppPollable object returned by the EPP
poll command |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppResponseDataPoll object into an XML
element |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EppResponseDataPoll
public EppResponseDataPoll(EppPollable object)
- Creates an
EppResponseDataPoll
object
getPollable
public EppPollable getPollable()
- Gets the
EppPollable
object returned by the EPP poll
poll command
setPollable
public void setPollable(EppPollable object)
- Sets the
EppPollable
object returned by the EPP
poll command
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
- Converts the
EppResponseDataPoll
object into an XML
element
- Overrides:
- toXML in class EppEntity
- Parameters:
doc
- the XML Document
objecttag
- the tag/element name for the EppResponse
object- Returns:
- an
Element
object
fromXML
public static EppEntity fromXML(org.w3c.dom.Node root)
- Converts an XML element into an
EppResponseDataPoll
object. The caller of this method must make sure that the root
node is of the EPP transferType.
- Parameters:
root
- root node for an EppResponseDataPoll
object in XML format- Returns:
- an
EppResponseDataPoll
object, or null
if the node is invalid
Copyright © 2001 NeuStar, Inc. All Rights Reserved.