|
EPP 0.2.4 | ||||||||
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.EppObject | +--com.neulevel.epp.core.EppHost
This EppHost
class implements EPP Host objects.
Field Summary | |
static java.lang.String |
STATUS_CLIENT_DELETE_PROHIBITED
Host status - clientDeleteProhibited |
static java.lang.String |
STATUS_CLIENT_UPDATE_PROHIBITED
Host status - clientUpdateProhibited |
static java.lang.String |
STATUS_LINKED
Host status - linked |
static java.lang.String |
STATUS_OK
Host status - ok |
static java.lang.String |
STATUS_PENDING_DELETE
Host status - pendingDelete |
static java.lang.String |
STATUS_PENDING_TRANSFER
Host status - pendingTransfer |
static java.lang.String |
STATUS_SERVER_DELETE_PROHIBITED
Host status - serverDeleteProhibited |
static java.lang.String |
STATUS_SERVER_UPDATE_PROHIBITED
Host status - serverUpdateProhibited |
Fields inherited from class com.neulevel.epp.core.EppObject |
authInfo,
clID,
CONTACT,
crDate,
crID,
DOMAIN,
exDate,
HOST,
roid,
status,
trDate,
upDate,
upID |
Constructor Summary | |
EppHost()
Creates an EppHost object |
|
EppHost(java.lang.String name)
Creates an EppHost object with a domain name |
Method Summary | |
void |
addAddress(EppIpAddress address)
Adds an IP address into the list of the IP addresses associated with the host |
static EppCommandCheckHost |
check(java.lang.String xid)
Creates an EppCommandCheckHost object for
checking the existance of EPP Host objects in the registry. |
static EppCommandDeleteHost |
delete(java.lang.String name,
java.lang.String xid)
Creates an EppCommandDeleteHost object for
deleting an EPP Host object from the registry. |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppHost object. |
java.util.Vector |
getAddress()
Gets the list of IP addresses associated with the host |
java.lang.String |
getName()
Gets the name of the host |
static EppCommandInfoHost |
info(java.lang.String name,
java.lang.String xid)
Creates an EppCommandInfoHost object for
querying the details of an EPP Host object |
void |
setName(java.lang.String name)
Sets the name of the host |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppHost object into an XML element |
static EppCommandUpdateHost |
update(java.lang.String name,
java.lang.String xid)
Creates an EppCommandUpdateHost object for
updating an EPP Host object in the registry. |
Methods inherited from class com.neulevel.epp.core.EppObject |
addStatus,
create,
fromXMLCommon,
getAuthInfo,
getClientId,
getClientIdCreated,
getClientIdUpdated,
getDateCreated,
getDateExpired,
getDateTransferred,
getDateUpdated,
getRoid,
getStatus,
setAuthInfo,
setClientId,
setClientIdCreated,
setClientIdUpdated,
setDateCreated,
setDateExpired,
setDateTransferred,
setDateUpdated,
setRoid,
toXMLCommon |
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 STATUS_CLIENT_DELETE_PROHIBITED
public static final java.lang.String STATUS_CLIENT_UPDATE_PROHIBITED
public static final java.lang.String STATUS_LINKED
public static final java.lang.String STATUS_OK
public static final java.lang.String STATUS_PENDING_DELETE
public static final java.lang.String STATUS_PENDING_TRANSFER
public static final java.lang.String STATUS_SERVER_DELETE_PROHIBITED
public static final java.lang.String STATUS_SERVER_UPDATE_PROHIBITED
Constructor Detail |
public EppHost()
EppHost
objectpublic EppHost(java.lang.String name)
EppHost
object with a domain nameMethod Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Vector getAddress()
public void addAddress(EppIpAddress address)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppHost
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppHost
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppHost
object.
The caller of this method must make sure that the root node is of
the EPP Host type.root
- root node for an EppHost
object in
XML formatEppHost
object, or null if the node
is invalidpublic java.lang.String toString()
public static EppCommandDeleteHost delete(java.lang.String name, java.lang.String xid)
EppCommandDeleteHost
object for
deleting an EPP Host object from the registry.name
- the name of the host object to be deletedxid
- the client transaction id associated with the operationpublic static EppCommandInfoHost info(java.lang.String name, java.lang.String xid)
EppCommandInfoHost
object for
querying the details of an EPP Host objectname
- the name of the host object to be queriedxid
- the client transaction id associated with the operationpublic static EppCommandCheckHost check(java.lang.String xid)
EppCommandCheckHost
object for
checking the existance of EPP Host objects in the registry.
Names of EPP Host objects can be added via the
add
or addName
methods.xid
- the client transaction id associated with the operationpublic static EppCommandUpdateHost update(java.lang.String name, java.lang.String xid)
EppCommandUpdateHost
object for
updating an EPP Host object in the registry. The actual update
information should be specified via the various methods defined
for the EppCommandUpdateHost
object.name
- the name of the host object to be updatedxid
- the client transaction id associated with the operation
|
EPP 0.2.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |