|
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.command.EppCreds
This EppCreds
class implements EPP credsType entity.
Constructor Summary | |
EppCreds(java.lang.String clientId,
java.lang.String password)
Creates an EppCreds object, given the registrar client
id and the password |
|
EppCreds(java.lang.String clientId,
java.lang.String password,
java.lang.String newPassword)
Creates an EppCreds object, given the registrar client
id, the current password, and the new password |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCreds object. |
java.lang.String |
getClientId()
Gets registrar client id |
java.lang.String |
getNewPassword()
Gets registrar client's new password |
EppCredsOptions |
getOptions()
Gets credentials options |
java.lang.String |
getPassword()
Gets registrar client's password |
void |
setClientId(java.lang.String clientId)
Sets registrar client id |
void |
setNewPassword(java.lang.String newPassword)
Sets registrar client's new password |
void |
setOptions(EppCredsOptions options)
Sets credentials options |
void |
setPassword(java.lang.String password)
Sets registrar client's password |
java.lang.String |
toString()
Converts the EppCreds object into plain XML text string
by using the default root tag name |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCreds 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 EppCreds(java.lang.String clientId, java.lang.String password)
EppCreds
object, given the registrar client
id and the passwordclientId
- client/registrar idpassword
- the password for the client/registrarpublic EppCreds(java.lang.String clientId, java.lang.String password, java.lang.String newPassword)
EppCreds
object, given the registrar client
id, the current password, and the new passwordclientId
- registrar client idpassword
- the current password for the registrar clientnewPassword
- the new password replacing the current passwordMethod Detail |
public java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getNewPassword()
public void setNewPassword(java.lang.String newPassword)
public EppCredsOptions getOptions()
public void setOptions(EppCredsOptions options)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppCreds
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppCreds
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppCreds
object. The
caller of this method must make sure that the root node is of the
EPP credsType.root
- root node for an EppCreds
object in XML formatEppCreds
object, or null if the node is invalidpublic java.lang.String toString()
EppCreds
object into plain XML text string
by using the default root tag nameEppCreds
object
in XML format
|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |