org.objectweb.jonas_lib.deployment.xml
Class InitParam

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.InitParam
All Implemented Interfaces:
java.io.Serializable, Element

public class InitParam
extends AbsElement

This class defines the implementation of the element init-param

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
InitParam()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getParamName()
           
 java.lang.String getParamValue()
           
 void setDescription(java.lang.String description)
          Sets the description
 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

InitParam

public InitParam()
Method Detail

setDescription

public void setDescription(java.lang.String description)
Sets the description

Parameters:
description - the description to use

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

getDescription

public java.lang.String getDescription()
Returns:
the description 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.