public abstract class AbstractComposite extends Object implements Composite
Modifier and Type | Field and Description |
---|---|
protected RepositoryData |
_repositoryData
The repository data of the repeater entry
|
Constructor and Description |
---|
AbstractComposite(RepositoryData repositoryData)
Creates a repeater entry
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getDataNames()
Retrieves the names of data contained by this data holder
|
protected abstract DataHolder |
getDefaultDataHolder()
Retrieves the default implementation of a
DataHolder to use |
boolean |
hasValue(String dataPath)
Checks if there is a value for the data at the given path
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyTo, dataToSAX, dataToSAX, dataToSAX, dataToSAX, getComposite, getRepeater, toSAX, toSAX
protected RepositoryData _repositoryData
public AbstractComposite(RepositoryData repositoryData)
repositoryData
- the repository data of the repeater entrypublic Collection<String> getDataNames()
DataHolder
getDataNames
in interface DataHolder
public boolean hasValue(String dataPath) throws IllegalArgumentException, BadDataPathCardinalityException
DataHolder
hasValue
in interface DataHolder
dataPath
- path of the datatrue
if there is value for the data, false
otherwiseIllegalArgumentException
- if the given data path is null or emptyBadDataPathCardinalityException
protected abstract DataHolder getDefaultDataHolder()
DataHolder
to useDataHolder