public class RepeaterRepositoryModelItemType extends AbstractModelItemType implements RepositoryModelItemGroupType
Constructor and Description |
---|
RepeaterRepositoryModelItemType() |
Modifier and Type | Method and Description |
---|---|
String |
getNodeType()
Retrieves the type of node used for this type
|
boolean |
isCompatible(RepositoryData parentData,
String name)
Checks if the value in the given repository data is compatible with the item type
|
void |
valueToSAX(ContentHandler contentHandler,
String tagName,
Object value,
Locale locale)
Generates SAX events for the given value
|
getId, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, read
getId
setPluginInfo
public RepeaterRepositoryModelItemType()
public boolean isCompatible(RepositoryData parentData, String name) throws UnknownDataException
RepositoryModelItemType
isCompatible
in interface RepositoryModelItemGroupType
isCompatible
in interface RepositoryModelItemType
parentData
- repository data containing the data to checkname
- the name of the data to checktrue
if the data type matches the current type, false
otherwiseUnknownDataException
- if there is no data in the parent repository data with this namepublic String getNodeType()
RepositoryModelItemGroupType
getNodeType
in interface RepositoryModelItemGroupType
public void valueToSAX(ContentHandler contentHandler, String tagName, Object value, Locale locale) throws SAXException
ModelItemType
valueToSAX
in interface ModelItemType
contentHandler
- the ContentHandler
that will receive the SAX eventstagName
- the tag name of the SAX event to generate.value
- the value to SAXlocale
- The locale to use for localized data. Can be null
to generate SAX events for all existing Locale
s.SAXException
- if an error occurs during the SAX events generation