org.apache.wookie.w3c.impl
Class ParamEntity
java.lang.Object
org.apache.wookie.w3c.impl.ParamEntity
- All Implemented Interfaces:
- IElement, IParamEntity
- Direct Known Subclasses:
- PreferenceEntity
public class ParamEntity
- extends java.lang.Object
- implements IParamEntity
- Version:
- $Id: ParamEntity.java,v 1.3 2009-09-02 18:37:31 scottwilson Exp $
- Author:
- Paul Sharples
|
Method Summary |
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object |
java.lang.String |
getName()
|
java.lang.String |
getValue()
|
void |
setName(java.lang.String name)
|
void |
setValue(java.lang.String 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 |
ParamEntity
public ParamEntity()
ParamEntity
public ParamEntity(java.lang.String name,
java.lang.String value)
getName
public java.lang.String getName()
- Specified by:
getName in interface IParamEntity
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface IParamEntity
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface IParamEntity
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue in interface IParamEntity
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.