org.apache.wookie.w3c.impl
Class ParamEntity

java.lang.Object
  extended by org.apache.wookie.w3c.impl.ParamEntity
All Implemented Interfaces:
IParam, IElement
Direct Known Subclasses:
PreferenceEntity

public class ParamEntity
extends java.lang.Object
implements IParam, IElement

Version:
$Id: ParamEntity.java,v 1.3 2009-09-02 18:37:31 scottwilson Exp $
Author:
Paul Sharples

Constructor Summary
ParamEntity()
           
ParamEntity(java.lang.String name, java.lang.String value)
           
 
Method Summary
 void fromXML(org.jdom.Element element)
          Unmarshall the given XML Element to this Object
 java.lang.String getName()
          Get widget feature parameter name.
 java.lang.String getValue()
          Get widget feature parameter value.
 void setName(java.lang.String name)
          Set widget feature parameter name.
 void setValue(java.lang.String value)
          Set widget feature parameter value.
 org.jdom.Element toXml()
          Marshall the entity into an XML Element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamEntity

public ParamEntity()

ParamEntity

public ParamEntity(java.lang.String name,
                   java.lang.String value)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IParam
Get widget feature parameter name.

Specified by:
getName in interface IParam
Returns:
parameter name

setName

public void setName(java.lang.String name)
Description copied from interface: IParam
Set widget feature parameter name.

Specified by:
setName in interface IParam

getValue

public java.lang.String getValue()
Description copied from interface: IParam
Get widget feature parameter value.

Specified by:
getValue in interface IParam
Returns:
parameter value

setValue

public void setValue(java.lang.String value)
Description copied from interface: IParam
Set widget feature parameter value.

Specified by:
setValue in interface IParam

fromXML

public void fromXML(org.jdom.Element element)
             throws BadManifestException
Description copied from interface: IElement
Unmarshall the given XML Element to this Object

Specified by:
fromXML in interface IElement
Parameters:
element - The Element to unmarshall
Throws:
BadManifestException

toXml

public org.jdom.Element toXml()
Description copied from interface: IElement
Marshall the entity into an XML Element

Specified by:
toXml in interface IElement
Returns:
the W3C Widgets Element representing the content of the entity


2012 Apache Software Foundation.