|
EPP 0.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neulevel.epp.core.EppEntity | +--com.neulevel.epp.core.command.EppCommand | +--com.neulevel.epp.core.command.EppCommandPoll
This EppCommandPoll
class implements EPP Command Poll
entity.
Field Summary | |
static java.lang.String |
OPTYPE_ACK
Poll operation type for acknowledging the receiption of a message |
static java.lang.String |
OPTYPE_REQ
Poll operation type for polling existing messages (default) |
Fields inherited from class com.neulevel.epp.core.command.EppCommand |
clTRID,
creds,
unspec |
Constructor Summary | |
EppCommandPoll()
Creates an EppCommandPoll object, with default operation
type as "req" |
|
EppCommandPoll(java.lang.String xid)
Creates an EppCommandPoll object, with default operation
type as "req", given a client transaction id associated with
operation |
|
EppCommandPoll(java.lang.String operation,
java.lang.String messageId)
Creates an EppCommandPoll object, given the operation
type and the message id. |
|
EppCommandPoll(java.lang.String operation,
java.lang.String messageId,
java.lang.String xid)
Creates an EppCommandPoll object, given the operation
type and the message id and a client transaction id associated with
operation |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandPoll object. |
java.lang.String |
getMessageId()
Gets the message id related to the poll command |
java.lang.String |
getOperation()
Gets the poll operation type |
void |
setMessageId(java.lang.String messageId)
Sets the message id related to the poll command |
void |
setOperation(java.lang.String operation)
Sets the poll operation type, either "req" or "ack" |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandPoll object into an XML element |
Methods inherited from class com.neulevel.epp.core.command.EppCommand |
check,
create,
delete,
getClientTransactionId,
getCreds,
getUnspec,
info,
renew,
setClientTransactionId,
setCreds,
setUnspec,
toXMLCommon,
toXMLCommon,
toXMLCommon,
toXMLCommon,
transfer,
update |
Methods inherited from class com.neulevel.epp.core.EppEntity |
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String OPTYPE_REQ
public static final java.lang.String OPTYPE_ACK
Constructor Detail |
public EppCommandPoll()
EppCommandPoll
object, with default operation
type as "req"public EppCommandPoll(java.lang.String xid)
EppCommandPoll
object, with default operation
type as "req", given a client transaction id associated with
operationpublic EppCommandPoll(java.lang.String operation, java.lang.String messageId)
EppCommandPoll
object, given the operation
type and the message id.public EppCommandPoll(java.lang.String operation, java.lang.String messageId, java.lang.String xid)
EppCommandPoll
object, given the operation
type and the message id and a client transaction id associated with
operationMethod Detail |
public java.lang.String getOperation()
public void setOperation(java.lang.String operation)
public java.lang.String getMessageId()
public void setMessageId(java.lang.String messageId)
public static EppEntity fromXML(org.w3c.dom.Node root)
EppCommandPoll
object.
The caller of this method must make sure that the root node is of an
EPP Command Create entity.root
- root node for an EppCommandPoll
object
in XML formatEppCommandPoll
object, or null if the node
is invalidpublic org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppCommandPoll
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppCommandPoll
objectElement
objectpublic java.lang.String toString()
|
EPP 0.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |