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

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsJonasParam
All Implemented Interfaces:
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(String ename)
          Construct a JOnASParam with given Element name.
 
Method Summary
 String getParamName()
           
 String getParamValue()
           
 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

AbsJonasParam

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

Parameters:
ename - Element name
Method Detail

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

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.