public class MultilingualStringRepositoryElementType extends AbstractMultilingualStringElementType implements ComplexRepositoryElementType<MultilingualString>
TYPE_ID_DATA_NAME
Constructor and Description |
---|
MultilingualStringRepositoryElementType() |
Modifier and Type | Method and Description |
---|---|
String |
getNodeType()
Retrieves the type of node used for this type
|
MultilingualString |
readSingleValue(RepositoryData multilingualStringData)
Read the single value in the given repository data
|
void |
writeSingleValue(ModifiableRepositoryData parentData,
String name,
MultilingualString value)
Write the single value into the given repository data
This method is called by the
ComplexRepositoryElementType.write(ModifiableRepositoryData, String, Object) method, once for each value if the value is an array |
_singleValueToJSON, _singleValueToSAX, castValue, fromJSONForClient, isSimple, parseConfiguration, toString
getManagedClass, getManagedClassArray, isCompatible, valueToJSONForClient, valueToSAX
getId, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatible, read, removeValueBeforeWritingIt, write
castValue, fromJSONForClient, getManagedClass, getManagedClassArray, isCompatible, isSimple, parseConfiguration, toString, valueToJSONForClient
getId, valueToSAX
setPluginInfo
public MultilingualStringRepositoryElementType()
public MultilingualString readSingleValue(RepositoryData multilingualStringData)
ComplexRepositoryElementType
readSingleValue
in interface ComplexRepositoryElementType<MultilingualString>
multilingualStringData
- repository data containing the valuepublic void writeSingleValue(ModifiableRepositoryData parentData, String name, MultilingualString value)
ComplexRepositoryElementType
ComplexRepositoryElementType.write(ModifiableRepositoryData, String, Object)
method, once for each value if the value is an arraywriteSingleValue
in interface ComplexRepositoryElementType<MultilingualString>
parentData
- repository where to store the single value.name
- the name of the element to writevalue
- the single value to write. Can be null. In this case, an empty data must be createdpublic String getNodeType()
ComplexRepositoryElementType
getNodeType
in interface ComplexRepositoryElementType<MultilingualString>