org.objectweb.jonas_lib.deployment.xml
Class AbsJonasParam

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsJonasParam
All Implemented Interfaces:
java.io.Serializable, Element
Direct Known Subclasses:
JonasCallProperty, JonasInitParam, JonasParam, JonasStubProperty

public abstract class AbsJonasParam
extends AbsElement

This class defines the implementation of the element jonas-param

Author:
Guillaume Sauthier
See Also:
Serialized Form

Constructor Summary
protected AbsJonasParam(java.lang.String ename)
          Construct a JOnASParam with given Element name.
 
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 org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbsJonasParam

protected AbsJonasParam(java.lang.String ename)
Construct a JOnASParam with given Element name.

Parameters:
ename - Element name
Method Detail

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.