Class CMSItemToDataContentConverter

  • All Implemented Interfaces:
    Converter<CMSItemModel,​java.lang.String>

    public class CMSItemToDataContentConverter
    extends java.lang.Object
    implements Converter<CMSItemModel,​java.lang.String>
    Rendering Attribute Converter for CMSItemModel. Converts the item into its UID (String) representation.
    • Constructor Detail

      • CMSItemToDataContentConverter

        public CMSItemToDataContentConverter()
    • Method Detail

      • convert

        public java.lang.String convert​(CMSItemModel source)
        Description copied from interface: Converter
        Uses the source S object and produces an new instance of T.
        Specified by:
        convert in interface Converter<CMSItemModel,​java.lang.String>
        Parameters:
        source - the input to be converted.
        Returns:
        an instance of T, converted from the input source.
      • setRenderingVisibilityService

        public void setRenderingVisibilityService​(RenderingVisibilityService renderingVisibilityService)