|
EPP 0.2.3 | ||||||||
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.EppAuthInfo
This EppAuthInfo
class implements EPP AuthInfo entity.
Field Summary | |
static java.lang.String |
TYPE_PW
Authorization type "pw" for password |
Constructor Summary | |
EppAuthInfo(java.lang.String type,
java.lang.String value)
Creates an EppAuthInfo object |
|
EppAuthInfo(java.lang.String type,
java.lang.String value,
java.lang.String roid)
Creates an EppAuthInfo object with a ROID. |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppAuthInfo object. |
java.lang.String |
getRoid()
Gets the ROID of the authorization information |
java.lang.String |
getType()
Gets the type of the authorization information |
java.lang.String |
getValue()
Gets the value associated with the authorization information |
void |
setRoid(java.lang.String roid)
Sets the ROID of the authorization information |
void |
setType(java.lang.String type)
Sets the type of the authorization information |
void |
setValue(java.lang.String value)
Gets the value associated with the authorization information |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppAuthInfo 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 |
Field Detail |
public static final java.lang.String TYPE_PW
Constructor Detail |
public EppAuthInfo(java.lang.String type, java.lang.String value)
EppAuthInfo
objectpublic EppAuthInfo(java.lang.String type, java.lang.String value, java.lang.String roid)
EppAuthInfo
object with a ROID.Method Detail |
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getRoid()
public void setRoid(java.lang.String roid)
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)
EppAuthInfo
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppAuthInfo
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppAuthInfo
object.
The caller of this method must make sure that the root node is of
the EPP AuthInfo type.root
- root node for an EppAuthInfo
object
in XML formatEppAuthInfo
object, or null if the node
is invalidpublic java.lang.String toString()
|
EPP 0.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |