Package com.cognifide.slice.cq.mapper.processor

Examples of com.cognifide.slice.cq.mapper.processor.ImageFieldProcessor


    this.slingMapperFactory = slingMapperFactory;
  }

  public Mapper getMapper() {
    final Mapper mapper = slingMapperFactory.getMapper();
    mapper.registerFieldProcessor(new ImageFieldProcessor());
    return mapper;
  }
View Full Code Here


   * @return
   */
  @Provides
  @ContextScoped
  public Mapper getMapper(MapperBuilder mapperBuilder) {
    ImageFieldProcessor imageProcessor = new ImageFieldProcessor();
    return mapperBuilder.addDefaultSliceProcessors().addFieldProcessor(imageProcessor).build();
  }
View Full Code Here

TOP

Related Classes of com.cognifide.slice.cq.mapper.processor.ImageFieldProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.