Package org.ametys.cms.data.type.impl
Class HTMLRichTextRepositoryElementType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.model.type.AbstractModelItemType
org.ametys.core.model.type.AbstractElementType<RichText>
org.ametys.cms.data.type.AbstractRichTextElementType
org.ametys.cms.data.type.impl.RichTextRepositoryElementType
org.ametys.cms.data.type.impl.HTMLRichTextRepositoryElementType
- All Implemented Interfaces:
ComplexRepositoryElementType<RichText>
,RepositoryElementType<RichText>
,RepositoryModelItemType
,ElementType<RichText>
,ModelItemType
,LogEnabled
,PluginAware
,Component
,Serviceable
Class for rich text type of elements stored in the repository
Generates HTML SAX events for the data of this type
-
Field Summary
Fields inherited from class org.ametys.cms.data.type.AbstractRichTextElementType
_manager, _richTextHandlerFactory, _richTextTransformer
Fields inherited from class org.ametys.core.model.type.AbstractElementType
_jsonUtils
Fields inherited from interface org.ametys.plugins.repository.data.type.ComplexRepositoryElementType
TYPE_ID_DATA_NAME
Fields inherited from interface org.ametys.plugins.repository.data.type.RepositoryModelItemType
EMPTY_METADATA_SUFFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Retrieves the identifier of the parameter typevoid
service
(ServiceManager manager) Methods inherited from class org.ametys.cms.data.type.impl.RichTextRepositoryElementType
emptySingleValue, externalizableValueToSAX, getRepositoryDataType, isSingleValueEmpty, readSingleValue, removeValueBeforeWritingIt, writeSingleValue
Methods inherited from class org.ametys.cms.data.type.AbstractRichTextElementType
_compareMultipleValues, _compareSingleValues, _singleValueFromXML, _singleValueToJSON, _singleValueToSAX, _valueToSAXForEdition, convertValue, fromJSONForClient, isSimple, toString
Methods inherited from class org.ametys.core.model.type.AbstractElementType
_getValueAttributes, _isValueFromXMLMultiple, _useJSONForEdition, _valueToSAX, _valueToSAX, castValue, compareValues, getManagedClass, getManagedClassArray, isCompatible, parseConfiguration, valueFromXML, valueToJSONForClient, valueToSAX, valueToSAXForEdition
Methods inherited from class org.ametys.core.model.type.AbstractModelItemType
_getContextAttributes, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.plugins.repository.data.type.ComplexRepositoryElementType
hasNonEmptyValue, isCompatible, read, write
Methods inherited from interface org.ametys.runtime.model.type.ElementType
castValue, compareValues, fromJSONForClient, getManagedClass, getManagedClassArray, isCompatible, isSimple, parseConfiguration, toString, valueFromXML, valueToJSONForClient
Methods inherited from interface org.ametys.runtime.model.type.ModelItemType
valueToSAX, valueToSAX, valueToSAXForEdition
Methods inherited from interface org.ametys.runtime.plugin.component.PluginAware
setPluginInfo
Methods inherited from interface org.ametys.plugins.repository.data.type.RepositoryModelItemType
hasValue, isMultiple, remove
-
Constructor Details
-
HTMLRichTextRepositoryElementType
public HTMLRichTextRepositoryElementType()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractRichTextElementType
- Throws:
ServiceException
-
getId
Description copied from interface:ModelItemType
Retrieves the identifier of the parameter type- Specified by:
getId
in interfaceModelItemType
- Overrides:
getId
in classAbstractModelItemType
- Returns:
- the identifier of the parameter type
-