com.neulevel.epp.core.command
Class EppCommandRenewDomain
java.lang.Object
|
+--com.neulevel.epp.core.EppEntity
|
+--com.neulevel.epp.core.command.EppCommand
|
+--com.neulevel.epp.core.command.EppCommandRenew
|
+--com.neulevel.epp.core.command.EppCommandRenewDomain
- public class EppCommandRenewDomain
- extends EppCommandRenew
This EppCommandRenewDomain
class implements EPP Command Renew
entity for EPP Domain objects.
- Version:
- $Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
- Author:
- Ning Zhang ning.zhang@neustar.com
Constructor Summary |
EppCommandRenewDomain(java.lang.String name,
java.util.Calendar curExpDate)
Creates an EppCommandRenewDomain object with a
default expiration period, specified by the registry |
EppCommandRenewDomain(java.lang.String name,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
Creates an EppCommandRenewDomain object with a
specified expiration period, and a client transaction id associated
with the operation |
EppCommandRenewDomain(java.lang.String name,
java.util.Calendar curExpDate,
java.lang.String xid)
Creates an EppCommandRenewDomain object with a
default expiration period, specified by the registry, and a
client transaction id associated with the operation |
EppCommandRenewDomain(java.lang.String name,
java.lang.String xid)
Creates an EppCommandRenewDomain object with a
client transaction id associated with the operation. |
Method Summary |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandRenewDomain
object. |
java.lang.String |
getName()
Gets the name of the domain to be renewed |
void |
setName(java.lang.String name)
Sets the name of the domain to be renewed |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandRenewDomain 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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EppCommandRenewDomain
public EppCommandRenewDomain(java.lang.String name,
java.util.Calendar curExpDate)
- Creates an
EppCommandRenewDomain
object with a
default expiration period, specified by the registry
EppCommandRenewDomain
public EppCommandRenewDomain(java.lang.String name,
java.lang.String xid)
- Creates an
EppCommandRenewDomain
object with a
client transaction id associated with the operation. The current
date of expiration would be the current date.
EppCommandRenewDomain
public EppCommandRenewDomain(java.lang.String name,
java.util.Calendar curExpDate,
java.lang.String xid)
- Creates an
EppCommandRenewDomain
object with a
default expiration period, specified by the registry, and a
client transaction id associated with the operation
EppCommandRenewDomain
public EppCommandRenewDomain(java.lang.String name,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
- Creates an
EppCommandRenewDomain
object with a
specified expiration period, and a client transaction id associated
with the operation
getName
public java.lang.String getName()
- Gets the name of the domain to be renewed
setName
public void setName(java.lang.String name)
- Sets the name of the domain to be renewed
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
- Converts the
EppCommandRenewDomain
object into
an XML element
- Overrides:
- toXML in class EppEntity
- Parameters:
doc
- the XML Document
objecttag
- the tag/element name for the
EppCommandRenewDomain
object- Returns:
- an
Element
object
fromXML
public static EppEntity fromXML(org.w3c.dom.Node root)
- Converts an XML element into an
EppCommandRenewDomain
object. The caller of this method must make sure that the root node
is of an EPP Command Renew entity for EPP domain object
- Parameters:
root
- root node for an EppCommandRenewDomain
object in XML format- Returns:
- an
EppCommandRenewDomain
object, or null
if the node is invalid
Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.