Package org.ametys.cms.content.type
Class HTMLRichTextContentElementType
- 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.content.type.RichTextContentElementType
-
- org.ametys.cms.content.type.HTMLRichTextContentElementType
-
- All Implemented Interfaces:
Referencer
,ComplexRepositoryElementType<RichText>
,RepositoryElementType<RichText>
,RepositoryModelItemType
,ElementType<RichText>
,ModelItemType
,LogEnabled
,PluginAware
,Component
,Serviceable
public class HTMLRichTextContentElementType extends RichTextContentElementType
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.content.type.RichTextContentElementType
_richTextOutgoingReferencesExtractor
-
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
Constructors Constructor Description HTMLRichTextContentElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Retrieves the identifier of the parameter typevoid
service(ServiceManager manager)
-
Methods inherited from class org.ametys.cms.content.type.RichTextContentElementType
getOutgoingReferences
-
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 Detail
-
HTMLRichTextContentElementType
public HTMLRichTextContentElementType()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classRichTextContentElementType
- Throws:
ServiceException
-
getId
public String 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
-
-