|
EPP 0.2.5 | ||||||||
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.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 |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppGreeting object. |
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 |
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 settingpublic EppGreeting(java.lang.String serviceId, EppServiceMenu serviceMenu)
EppGreeting
object, given a service
identifier and a service menuserviceId
- the identifier of the service providedserviceMenu
- the menu of the service providedMethod 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 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppGreeting
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppGreeting
objectElement
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 formatEppGreeting
object, or null if the node
is invalidpublic java.lang.String toString()
|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |