org.broadleafcommerce.core.web.processor
Class SeoMetaDataProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementProcessor
org.broadleafcommerce.core.web.processor.SeoMetaDataProcessor
- All Implemented Interfaces:
- Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor
@Component(value="blSeoMetaDataProcessor")
public class SeoMetaDataProcessor
- extends org.thymeleaf.processor.element.AbstractElementProcessor
Processor that creates meta-tags with Twitter Data.
This processor is to be used within
context.
- metaDescription - Optional, Content for the Meta-Description tag
- metaKeywords - Optional, Content for the Meta-Keywords tag
- metaRobot - Optional, Content for the Meta-Robots tag
- Author:
- Jerry Ocanas (jocanas)
|
Constructor Summary |
SeoMetaDataProcessor()
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 |
SeoMetaDataProcessor
public SeoMetaDataProcessor()
- 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
createMetaTagElement
protected org.thymeleaf.dom.Element createMetaTagElement(String name,
String content)
Copyright © 2012. All Rights Reserved.