|
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.EppContactType
This EppContactType class implements EPP Contact Type entity.
Currently, only EPP Domain objects have contact types defined:
| Constructor Summary | |
EppContactType(java.lang.String id)
Creates an EppContactType object with the id of
a contact object |
|
EppContactType(java.lang.String id,
java.lang.String type)
Creates an EppContactType object with the id of
a contact object and a type string |
|
| Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppContactType object. |
java.lang.String |
getId()
Gets the id of the contact |
java.lang.String |
getType()
Gets the type of the contact |
void |
setId(java.lang.String id)
Sets the id of the contact |
void |
setType(java.lang.String type)
Sets the type of the contact |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppContactType 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 EppContactType(java.lang.String id)
EppContactType object with the id of
a contact object
public EppContactType(java.lang.String id,
java.lang.String type)
EppContactType object with the id of
a contact object and a type string| Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getType()
public void setType(java.lang.String type)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppContactType object into an XML elementdoc - the XML Document objecttag - the tag/element name for the EppContactType
objectElement objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppContactType object.
The caller of this method must make sure that the root node is of
the EPP Contact Type type.root - root node for an EppContactType object
in XML formatEppContactType object, or null if the node
is invalidpublic java.lang.String toString()
|
EPP 0.2.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||