...
It is used to map to java.land.Boolean
or boolean
. The reason for having it separated is that it supports converting String properties to boolean values - this is needed because sometimes CQ writes boolean values as String in JCR repository.
ImageFieldProcessor
...
This is a CQ extension to Mapper. It supports String fields annotated with @com.cognifide.slice.mapper.annotation.ImagePath
or fields of com.day.cq.wcm.foundation.Image
type.
Depending on the field type you can have the following:
String
: a path to an image resource (set by SmartImage dialog) withsrc
selector added. If such a path is used in html img tag, it renders an image using CQ's image servletImage
: an Image object which allows you to manipulate the image and then output the src code using itsgetSrc()
method.
SliceResourceProcessor
This processor is used for recursive mapping of resources. If a field is of class annotated with @SliceResource
it will be mapped from a child resource named after the field.
SliceReferenceProcessor
Post processors
...