| Modifier and Type | Field and Description |
|---|---|
static int |
MOVE_DOWN |
static int |
MOVE_FIRST |
static int |
MOVE_LAST |
static int |
MOVE_UP |
compiledCache, compiler| Constructor and Description |
|---|
WritableResourceNode() |
| Modifier and Type | Method and Description |
|---|---|
abstract WritableResourceNode |
createConfig(String key)
Create a new config and append it at the end of the list.
|
abstract int |
moveConfig(ResourceNode config,
int newPos)
Move the position of the configuration in the hole set of configurations.
|
abstract void |
removeConfig(ResourceNode config)
Remove a config element from the set.
|
void |
setString(String name,
String value) |
getExtracted, getExtracted, getExtracted, getInputStream, getInputStream, getName, getNode, getNodeKeys, getNodes, getNodes, getParent, getPropertyKeys, getUrl, keysgetBoolean, getBoolean, getCalendar, getDate, getDouble, getFloat, getInt, getLong, getNumber, getProperty, getProperty, getString, getString, isEditable, isProperty, iterator, removeProperty, setBoolean, setCalendar, setDate, setDouble, setFloat, setInt, setLong, setNumber, setPropertybase, base, createBase, forkBase, installBase, isBase, leaveBase, toStringpublic static final int MOVE_UP
public static final int MOVE_DOWN
public static final int MOVE_FIRST
public static final int MOVE_LAST
public abstract WritableResourceNode createConfig(String key) throws de.mhus.lib.errors.MException
key - de.mhus.lib.errors.MException - if editing is not possiblepublic abstract int moveConfig(ResourceNode config, int newPos) throws de.mhus.lib.errors.MException
config - The config object which you want to movenewPos - Absolute new position or one of the move operators MOVE_UP, MOVE_DOWN, MOVE_FIRST, MOVE_LASTde.mhus.lib.errors.MException - if editing is not possible or the position is out of rangepublic abstract void removeConfig(ResourceNode config) throws de.mhus.lib.errors.MException
config - The config object which should be removed.de.mhus.lib.errors.MException - if editing is not possiblepublic void setString(String name, String value)
setString in class IPropertiesCopyright © 2014. All rights reserved.