org.objectweb.jonas_lib.deployment.xml
Class JonasInitParam
java.lang.Object
org.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_lib.deployment.xml.JonasInitParam
- All Implemented Interfaces:
- Element, java.io.Serializable
- public class JonasInitParam
- extends AbsElement
This class defines the implementation of the element jonas-init-param
- Author:
- Florent Benoit
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getParamName()
|
java.lang.String |
getParamValue()
|
void |
setParamName(java.lang.String paramName)
Sets the name |
void |
setParamValue(java.lang.String paramValue)
Sets the value |
java.lang.String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JonasInitParam
public JonasInitParam()
setParamName
public void setParamName(java.lang.String paramName)
- Sets the name
- Parameters:
paramName
- the name to use
setParamValue
public void setParamValue(java.lang.String paramValue)
- Sets the value
- Parameters:
paramValue
- the value
getParamName
public java.lang.String getParamName()
- Returns:
- the name of the parameter
getParamValue
public java.lang.String getParamValue()
- Returns:
- the value of the parameter
toXML
public java.lang.String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prexifing XML representation.
- Returns:
- the XML description of this object.