|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.EppGreeting
public class EppGreeting
This EppGreeting class implements EPP Greeting entity used
in the EPP Protocol initialization.
| Constructor Summary | |
|---|---|
EppGreeting()
Creates an EppGreeting object with default setting |
|
EppGreeting(java.lang.String serviceId,
EppServiceMenu serviceMenu)
Creates an EppGreeting object, given a service
identifier and a service menu, and a default data collection policy |
|
EppGreeting(java.lang.String serviceId,
EppServiceMenu serviceMenu,
EppDataCollectionPolicy dcp)
Creates an EppGreeting object, given a service
identifier and a service menu, and a data collection policy |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppGreeting object. |
EppDataCollectionPolicy |
getDataCollectionPolicy()
Gets the data collection policy |
java.util.Calendar |
getServiceDate()
Gets the date associated with the service. |
java.lang.String |
getServiceId()
Gets the identifier of the service |
EppServiceMenu |
getServiceMenu()
Gets the menu of the service provided |
void |
setDataCollectionPolicy(EppDataCollectionPolicy dcp)
Sets the data collection policy |
void |
setServiceDate(java.util.Calendar serviceDate)
Sets the date associated with the service |
void |
setServiceId(java.lang.String serviceId)
Sets the identifier of the service |
void |
setServiceMenu(EppServiceMenu serviceMenu)
Sets the menu of the service provided |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppGreeting object into an XML element |
| 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 |
| Constructor Detail |
|---|
public EppGreeting()
EppGreeting object with default setting
public EppGreeting(java.lang.String serviceId,
EppServiceMenu serviceMenu)
EppGreeting object, given a service
identifier and a service menu, and a default data collection policy
serviceId - the identifier of the service providedserviceMenu - the menu of the service provided
public EppGreeting(java.lang.String serviceId,
EppServiceMenu serviceMenu,
EppDataCollectionPolicy dcp)
EppGreeting object, given a service
identifier and a service menu, and a data collection policy
serviceId - the identifier of the service providedserviceMenu - the menu of the service provideddcp - the data collection policy provided| Method Detail |
|---|
public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
public java.util.Calendar getServiceDate()
Calendar value when the EppGreeting is
created.
public void setServiceDate(java.util.Calendar serviceDate)
public EppServiceMenu getServiceMenu()
public void setServiceMenu(EppServiceMenu serviceMenu)
public EppDataCollectionPolicy getDataCollectionPolicy()
public void setDataCollectionPolicy(EppDataCollectionPolicy dcp)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppGreeting object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppGreeting
object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppGreeting object.
The caller of this method must make sure that the root node is of
the EPP addrType.
root - root node for an EppGreeting object
in XML format
EppGreeting object, or null if the node
is invalidpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||