com.cognifide.slice.cq.mapper.processor
Class ImageFieldProcessor

java.lang.Object
  extended by com.cognifide.slice.cq.mapper.processor.ImageFieldProcessor
All Implemented Interfaces:
FieldProcessor

public class ImageFieldProcessor
extends Object
implements FieldProcessor


Constructor Summary
ImageFieldProcessor()
           
 
Method Summary
 boolean accepts(org.apache.sling.api.resource.Resource resource, Field field)
           
 Object mapResourceToField(org.apache.sling.api.resource.Resource resource, org.apache.sling.api.resource.ValueMap valueMap, Field field, String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFieldProcessor

public ImageFieldProcessor()
Method Detail

accepts

public boolean accepts(org.apache.sling.api.resource.Resource resource,
                       Field field)
Specified by:
accepts in interface FieldProcessor

mapResourceToField

public Object mapResourceToField(org.apache.sling.api.resource.Resource resource,
                                 org.apache.sling.api.resource.ValueMap valueMap,
                                 Field field,
                                 String propertyName)
Specified by:
mapResourceToField in interface FieldProcessor


Copyright © 2012-2013 Cognifide Limited. All Rights Reserved.