public abstract class WritableResourceNode extends ResourceNode
Abstract WritableResourceNode class.
| Modifier and Type | Field and Description |
|---|---|
static int |
MOVE_DOWN
Constant
MOVE_DOWN=-101 |
static int |
MOVE_FIRST
Constant
MOVE_FIRST=-102 |
static int |
MOVE_LAST
Constant
MOVE_LAST=-103 |
static int |
MOVE_UP
Constant
MOVE_UP=-100 |
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)
setString.
|
getExtracted, getExtracted, getExtracted, getInputStream, getInputStream, getName, getNode, getNodeByPath, getNodeKeys, getNodes, getNodes, getParent, getPropertyKeys, getUrl, hasContent, isValide, 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, setProperty, toMapbase, base, createBase, forkBase, installBase, isBase, leaveBase, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final int MOVE_UP
MOVE_UP=-100public static final int MOVE_DOWN
MOVE_DOWN=-101public static final int MOVE_FIRST
MOVE_FIRST=-102public static final int MOVE_LAST
MOVE_LAST=-103public abstract WritableResourceNode createConfig(String key) throws MException
key - a String object.WritableResourceNode object.MException - if editing is not possiblepublic abstract int moveConfig(ResourceNode config, int newPos) throws 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_LASTMException - if editing is not possible or the position is out of rangepublic abstract void removeConfig(ResourceNode config) throws MException
config - The config object which should be removed.MException - if editing is not possibleCopyright © 2016. All Rights Reserved.