org.broadleafcommerce.core.web.processor
Class ImageProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementProcessor
org.broadleafcommerce.core.web.processor.ImageProcessor
- All Implemented Interfaces:
- Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor
@Component(value="blImageProcessor")
public class ImageProcessor
- extends org.thymeleaf.processor.element.AbstractElementProcessor
- Author:
- Jerry Ocanas (jocanas)
|
Constructor Summary |
ImageProcessor()
Sets the name of this processor to be used in Thymeleaf template |
| Methods inherited from class org.thymeleaf.processor.element.AbstractElementProcessor |
doProcess, getMatcher |
| Methods inherited from class org.thymeleaf.processor.AbstractProcessor |
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageProcessor
public ImageProcessor()
- Sets the name of this processor to be used in Thymeleaf template
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence in class org.thymeleaf.processor.AbstractProcessor
processElement
protected org.thymeleaf.processor.ProcessorResult processElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
- Specified by:
processElement in class org.thymeleaf.processor.element.AbstractElementProcessor
parseImgName
protected String parseImgName(String imgName)
isExpression
protected boolean isExpression(String subject)
Copyright © 2012. All Rights Reserved.