public static class OldStyleParams.PasswordParam extends OldStyleParams.Param
| Constructor and Description |
|---|
PasswordParam(java.lang.String name)
Construct a new
PasswordParam instance |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPasswordName()
Return the name of the referenced password.
|
void |
setPasswordName(java.lang.String newPasswordName)
Set the name of the referenced password (
calls setValue()). |
org.w3c.dom.Element |
toXML(org.w3c.dom.Node parent)
Construct an XML representation of this
PasswordParam |
getDisplayName, getName, getValue, hasBeenModified, resetModified, setDisplayName, setName, setValuepublic PasswordParam(java.lang.String name)
throws java.lang.IllegalArgumentException
PasswordParam instancename - name of the parameter (and name of XML element)java.lang.IllegalArgumentException - if name does not match the XML Name productionpublic org.w3c.dom.Element toXML(org.w3c.dom.Node parent)
PasswordParamtoXML in class OldStyleParams.Paramparent - Node under which to build representationElementOldStyleParams.Param.hasBeenModified(),
OldStyleParams.Param.resetModified()public java.lang.String getPasswordName()
getValue())public void setPasswordName(java.lang.String newPasswordName)
throws java.lang.IllegalArgumentException
calls setValue()).newPasswordName - password namejava.lang.IllegalArgumentException - if newPasswordName is
null or 0-length