|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.neulevel.epp.core.EppEntity com.neulevel.epp.core.EppContactData
This EppContactData
class implements EPP Contact postalType
for recording contact data.
Constructor Summary | |
EppContactData()
Creates an EppContactData object |
|
EppContactData(java.lang.String name,
EppAddress address)
Creates an EppContactData object without organization
value |
|
EppContactData(java.lang.String name,
java.lang.String org,
EppAddress address)
Creates an EppContactData object with organization name |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppContactData object. |
EppAddress |
getAddress()
Gets the address of the contact |
java.lang.String |
getName()
Gets the name of the contact |
java.lang.String |
getOrganization()
Gets the organization name of the contact |
void |
setAddress(EppAddress address)
Sets the address of the contact |
void |
setName(java.lang.String name)
Sets the name of the contact |
void |
setOrganization(java.lang.String org)
Sets the organization name of the contact |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppContactData 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 EppContactData()
EppContactData
object
public EppContactData(java.lang.String name, EppAddress address)
EppContactData
object without organization
value
name
- name of the contact, either a person or a companyaddress
- address of the contactpublic EppContactData(java.lang.String name, java.lang.String org, EppAddress address)
EppContactData
object with organization name
name
- name of the contact, either a person or a companyorg
- name of the organization for the contactaddress
- address of the contactMethod Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getOrganization()
public void setOrganization(java.lang.String org)
public EppAddress getAddress()
public void setAddress(EppAddress address)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppContactData
object into an XML element
toXML
in class EppEntity
doc
- the XML Document
objecttag
- the tag/element name for the EppContactData
object
Element
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppContactData
object.
The caller of this method must make sure that the root node is of
the EPP Contact multiDataType.
root
- root node for an EppContactData
object in
XML format
EppContactData
object, or null if the node is
invalidpublic java.lang.String toString()
toString
in class EppEntity
|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |