org.ow2.jonas.deployment.common.xml
Class InitParam

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.InitParam
All Implemented Interfaces:
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
 String getDescription()
           
 String getParamName()
           
 String getParamValue()
           
 void setDescription(String description)
          Sets the description
 void setParamName(String paramName)
          Sets the name
 void setParamValue(String paramValue)
          Sets the value
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.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(String description)
Sets the description

Parameters:
description - the description to use

setParamName

public void setParamName(String paramName)
Sets the name

Parameters:
paramName - the name to use

setParamValue

public void setParamValue(String paramValue)
Sets the value

Parameters:
paramValue - the value

getParamName

public String getParamName()
Returns:
the name of the parameter

getParamValue

public String getParamValue()
Returns:
the value of the parameter

getDescription

public String getDescription()
Returns:
the description of the parameter

toXML

public 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.