public interface ModifiableDataHolder extends DataHolder
| Modifier and Type | Method and Description |
|---|---|
ModifiableComposite |
getComposite(String compositePath)
Retrieves the composite at the given path
|
ModifiableComposite |
getComposite(String compositePath,
boolean createNew)
Retrieves the composite at the given path
|
ModifiableRepeater |
getRepeater(String repeaterPath)
Retrieves the repeater at the given path
|
ModifiableRepeater |
getRepeater(String repeaterPath,
boolean createNew)
Retrieves the repeater at the given path
|
void |
removeValue(String dataPath)
Removes the value of the data stored in the repository at the given path
|
copyTo, dataToSAX, dataToSAX, dataToSAX, dataToSAX, getDataNames, hasValue, toSAX, toSAXModifiableComposite getComposite(String compositePath) throws IllegalArgumentException, BadItemTypeException
DataHoldergetComposite in interface DataHoldercompositePath - path of the composite to retrievenull if not existsIllegalArgumentException - if the given composite path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a compositeModifiableRepeater getRepeater(String repeaterPath) throws IllegalArgumentException, BadItemTypeException
DataHoldergetRepeater in interface DataHolderrepeaterPath - path of the repeater to retrievenull if not existsIllegalArgumentException - if the given repeater path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a repeaterModifiableComposite getComposite(String compositePath, boolean createNew) throws IllegalArgumentException, BadItemTypeException
compositePath - path of the composite to retrievecreateNew - true to create the composite if it does not exist, false otherwiseIllegalArgumentException - if the given composite path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a compositeModifiableRepeater getRepeater(String repeaterPath, boolean createNew) throws IllegalArgumentException, BadItemTypeException
repeaterPath - path of the repeater to retrievecreateNew - true to create the repeater if it does not exist, false otherwiseIllegalArgumentException - if the given repeater path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a repeatervoid removeValue(String dataPath) throws IllegalArgumentException, UnknownDataException
dataPath - path of the dataIllegalArgumentException - if the given data path is null or emptyUnknownDataException - if the value at the given data path does not exist