public class DomableBean extends Object implements Domable, Serializable
Element objects, among with a
set of properties represented by key-value pairs, and a string identifer.| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME |
static String |
ID |
static String |
NAME |
static String |
PARAM |
static String |
VALUE |
| Constructor and Description |
|---|
DomableBean()
Creates a new instance of DomableBean
|
DomableBean(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(Element e) |
static DomableBean |
getDomableBean(Element e) |
Element[] |
getElements() |
String |
getId() |
Element |
getJDomElement() |
String |
getParam(String key) |
Map<String,String> |
getParams() |
void |
setId(String id) |
void |
setParam(String key,
String value) |
void |
setProperties(Element e,
Object aux) |
public static final String ELEMENT_NAME
public static final String ID
public static final String PARAM
public static final String NAME
public static final String VALUE
public DomableBean()
public DomableBean(String id)
public String getId()
public void setId(String id)
public Element getJDomElement()
getJDomElement in interface Domablepublic void setProperties(Element e, Object aux) throws Exception
setProperties in interface DomableExceptionpublic static DomableBean getDomableBean(Element e) throws Exception
Exceptionpublic void addElement(Element e)
public Element[] getElements()
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.