|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.thymeleaf.dialect.AbstractDialect
org.thymeleaf.dialect.AbstractXHTMLEnabledDialect
org.thymeleaf.standard.StandardDialect
public class StandardDialect
The Standard Dialect, default implementation of IDialect
.
StandardAltTitleAttrProcessor
StandardAttrAttrProcessor
StandardAttrappendAttrProcessor
StandardAttrprependAttrProcessor
StandardCaseAttrProcessor
StandardClassappendAttrProcessor
StandardConditionalFixedValueAttrProcessor
StandardDOMEventAttributeModifierAttrProcessor
StandardEachAttrProcessor
StandardFragmentAttrProcessor
StandardObjectAttrProcessor
StandardIfAttrProcessor
StandardInlineAttrProcessor
StandardUnlessAttrProcessor
StandardIncludeAttrProcessor
StandardLangXmlLangAttrProcessor
StandardRemoveAttrProcessor
StandardSingleNonRemovableAttributeModifierAttrProcessor
StandardSingleRemovableAttributeModifierAttrProcessor
StandardSubstituteByAttrProcessor
StandardSwitchAttrProcessor
StandardTextAttrProcessor
StandardUtextAttrProcessor
StandardWithAttrProcessor
StandardXmlBaseAttrProcessor
StandardXmlLangAttrProcessor
StandardXmlSpaceAttrProcessor
StandardExpressionExecutor
with expression evaluator of type OgnlExpressionEvaluator
(OGNL expression language).StandardExpressionParser
.
Constructor Summary | |
---|---|
StandardDialect()
|
Method Summary | |
---|---|
static Set<IProcessor> |
createStandardProcessorsSet()
|
protected Set<IDocTypeResolutionEntry> |
getAdditionalDocTypeResolutionEntries()
|
protected Set<IDocTypeTranslation> |
getAdditionalDocTypeTranslations()
|
protected Set<IProcessor> |
getAdditionalProcessors()
|
Set<IDocTypeTranslation> |
getDocTypeTranslations()
Returns the set of DOCTYPE translations. |
Map<String,Object> |
getExecutionAttributes()
Returns the execution attributes that will be set during executions of the template engine. |
String |
getPrefix()
Returns the default dialect prefix (the one that will be used if none is explicitly specified during dialect configuration). |
Set<IProcessor> |
getProcessors()
Returns the set of processors. |
protected Set<Class<? extends IProcessor>> |
getRemovedProcessors()
|
Set<IDocTypeResolutionEntry> |
getSpecificDocTypeResolutionEntries()
|
boolean |
isLenient()
Returns whether the dialect is lenient or not. |
Methods inherited from class org.thymeleaf.dialect.AbstractXHTMLEnabledDialect |
---|
getDocTypeResolutionEntries |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PREFIX
public static final boolean LENIENT
public static final String INLINER_LOCAL_VARIABLE
public static final DocTypeIdentifier XHTML1_STRICT_THYMELEAF1_SYSTEMID
public static final DocTypeIdentifier XHTML1_TRANSITIONAL_THYMELEAF1_SYSTEMID
public static final DocTypeIdentifier XHTML1_FRAMESET_THYMELEAF1_SYSTEMID
public static final DocTypeIdentifier XHTML11_THYMELEAF1_SYSTEMID
public static final DocTypeIdentifier XHTML1_STRICT_THYMELEAF2_SYSTEMID
public static final DocTypeIdentifier XHTML1_TRANSITIONAL_THYMELEAF2_SYSTEMID
public static final DocTypeIdentifier XHTML1_FRAMESET_THYMELEAF2_SYSTEMID
public static final DocTypeIdentifier XHTML11_THYMELEAF2_SYSTEMID
public static final DocTypeIdentifier XHTML1_STRICT_THYMELEAF3_SYSTEMID
public static final DocTypeIdentifier XHTML1_TRANSITIONAL_THYMELEAF3_SYSTEMID
public static final DocTypeIdentifier XHTML1_FRAMESET_THYMELEAF3_SYSTEMID
public static final DocTypeIdentifier XHTML11_THYMELEAF3_SYSTEMID
public static final IDocTypeResolutionEntry XHTML1_STRICT_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_TRANSITIONAL_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_FRAMESET_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML11_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_STRICT_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_TRANSITIONAL_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_FRAMESET_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML11_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_STRICT_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_TRANSITIONAL_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML1_FRAMESET_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY
public static final IDocTypeResolutionEntry XHTML11_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY
public static final Set<IDocTypeResolutionEntry> DOC_TYPE_RESOLUTION_ENTRIES
public static final IDocTypeTranslation XHTML1_STRICT_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_TRANSITIONAL_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_FRAMESET_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML11_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_STRICT_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_TRANSITIONAL_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_FRAMESET_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML11_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_STRICT_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_TRANSITIONAL_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_FRAMESET_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML11_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final Set<IDocTypeTranslation> DOC_TYPE_TRANSLATIONS
Constructor Detail |
---|
public StandardDialect()
Method Detail |
---|
public String getPrefix()
IDialect
Returns the default dialect prefix (the one that will be used if none is explicitly specified during dialect configuration).
If null is returned, then every attribute and/or element is considered processable by the processors in the dialect that apply to that kind of node (elements with their attributes), and not only those that start with a specific prefix.
Prefixes are not exclusive to a dialect: several dialects can declare the same prefix, effectively acting as an aggregate dialect.
public boolean isLenient()
IDialect
Returns whether the dialect is lenient or not. If the dialect is not lenient, then after execution of a template no attributes or elements should exist in the result with the prefix specified by this dialect (an error is raised if such thing happens).
For non-lenient dialects, any xmlns:{prefix} attributes in the document root or any other element will be removed from output. These attributes will not be removed for lenient dialects.
When several dialects act on the same prefix, a prefix will be considered to be lenient if any of the dialects for that prefix is lenient.
Unless it is really required (for instance, in dialects with null prefix), dialects should be non-lenient.
public Set<IDocTypeTranslation> getDocTypeTranslations()
IDialect
Returns the set of DOCTYPE translations.
getDocTypeTranslations
in interface IDialect
getDocTypeTranslations
in class AbstractDialect
protected Set<IDocTypeTranslation> getAdditionalDocTypeTranslations()
public Set<IDocTypeResolutionEntry> getSpecificDocTypeResolutionEntries()
getSpecificDocTypeResolutionEntries
in class AbstractXHTMLEnabledDialect
protected Set<IDocTypeResolutionEntry> getAdditionalDocTypeResolutionEntries()
public Set<IProcessor> getProcessors()
IDialect
Returns the set of processors.
getProcessors
in interface IDialect
getProcessors
in class AbstractDialect
protected Set<IProcessor> getAdditionalProcessors()
protected Set<Class<? extends IProcessor>> getRemovedProcessors()
public Map<String,Object> getExecutionAttributes()
IDialect
Returns the execution attributes that will be set during executions of the template engine.
If more than one dialect are set, all of their execution attributes will be added to the available execution attributes map.
getExecutionAttributes
in interface IDialect
getExecutionAttributes
in class AbstractDialect
public static Set<IProcessor> createStandardProcessorsSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |