|
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.EppSvcsubParam
This EppSvcsubParam
class implements EPP Svcsub Param entity.
Currently, only EPP Svcsub objects have Svcsub params defined:
Constructor Summary | |
EppSvcsubParam(java.lang.String name)
Creates an EppSvcsubParam object with the name
of a parameter |
|
EppSvcsubParam(java.lang.String name,
java.lang.String value)
Creates an EppSvcsubParam object with the name
of a parameter and a value string |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppSvcsubParam object. |
java.lang.String |
getName()
Gets the name of the parameter |
static java.util.Vector |
getParamValue(java.util.Vector param,
java.lang.String name)
Gets a sub-list of parameter values, given a list of parameter values and a name string |
java.lang.String |
getValue()
Gets the value of the parameter |
void |
setName(java.lang.String name)
Sets the name of the parameter |
void |
setValue(java.lang.String value)
Sets the value of the parameter |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppSvcsubParam 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 EppSvcsubParam(java.lang.String name)
EppSvcsubParam
object with the name
of a parameterpublic EppSvcsubParam(java.lang.String name, java.lang.String value)
EppSvcsubParam
object with the name
of a parameter and a value stringMethod Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public static java.util.Vector getParamValue(java.util.Vector param, java.lang.String name)
a
- list of EppSvcsubParam objectsname
- the name of parameters to be extracted from the listpublic org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppSvcsubParam
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppSvcsubParam
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppSvcsubParam
object.
The caller of this method must make sure that the root node is of
the EPP Svcsub Param type.root
- root node for an EppSvcsubParam
object
in XML formatEppSvcsubParam
object, or null if the node
is invalidpublic java.lang.String toString()
|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |