Class GenericCDMfrExtension

java.lang.Object
org.ametys.odf.cdmfr.AbstractCDMfrExtension
org.ametys.odf.cdmfr.GenericCDMfrExtension
All Implemented Interfaces:
CDMfrExtension, Configurable, Serviceable

Simple CDMfrExtension generating CDM-fr Ametys extension for each configured attribute.
Each attribute should be configured like:

<attribute name="attributeName" tag="tagName">

and will be output with the following syntax:

<ametys-cdm:tagName>value</ametys-cdm:tagName>

The tag name is optional, defaulting to the attribute name.
It the attribute is of type "content", then the "cdm" view is also exported inside the attribute's XML tag if it exists.