|
||||||||||
| 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.
StandardAltTitleAttrProcessorStandardAttrAttrProcessorStandardAttrappendAttrProcessorStandardAttrprependAttrProcessorStandardClassappendAttrProcessorStandardConditionalFixedValueAttrProcessorStandardDOMEventAttributeModifierAttrProcessorStandardEachAttrProcessorStandardFragmentAttrProcessorStandardObjectAttrProcessorStandardIfAttrProcessorStandardInlineAttrProcessorStandardUnlessAttrProcessorStandardIncludeAttrProcessorStandardLangXmlLangAttrProcessorStandardRemoveAttrProcessorStandardSingleNonRemovableAttributeModifierAttrProcessorStandardSingleRemovableAttributeModifierAttrProcessorStandardTextAttrProcessorStandardUtextAttrProcessorStandardWithAttrProcessorStandardXmlBaseAttrProcessorStandardXmlLangAttrProcessorStandardXmlSpaceAttrProcessor
| Constructor Summary | |
|---|---|
StandardDialect()
|
|
| 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 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 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 Set<IDocTypeResolutionEntry> DOC_TYPE_RESOLUTION_ENTRIES
public static final IDocTypeTranslation XHTML1_STRICT_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_TRANSITIONAL_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML1_FRAMESET_DOC_TYPE_TRANSLATION
public static final IDocTypeTranslation XHTML11_DOC_TYPE_TRANSLATION
public static final Set<IDocTypeTranslation> DOC_TYPE_TRANSLATIONS
| Constructor Detail |
|---|
public StandardDialect()
| Method Detail |
|---|
public String getPrefix()
IDialectReturns 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 tag is considered processable by the processors in the dialect, 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()
IDialectReturns whether the dialect is lenient or not. If the dialect is not lenient, then the existence of attributes or tags starting with the dialect prefix for which no attribute/tag processor exists is considered an error.
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()
IDialectReturns the set of DOCTYPE translations.
getDocTypeTranslations in interface IDialectgetDocTypeTranslations in class AbstractDialectprotected Set<IDocTypeTranslation> getAdditionalDocTypeTranslations()
public Set<IDocTypeResolutionEntry> getSpecificDocTypeResolutionEntries()
getSpecificDocTypeResolutionEntries in class AbstractXHTMLEnabledDialectprotected Set<IDocTypeResolutionEntry> getAdditionalDocTypeResolutionEntries()
public Set<IAttrProcessor> getAttrProcessors()
IDialectReturns the set of attribute processors.
getAttrProcessors in interface IDialectgetAttrProcessors in class AbstractDialectprotected Set<IAttrProcessor> getAdditionalAttrProcessors()
protected Set<Class<? extends IAttrProcessor>> getRemovedAttrProcessors()
public Set<ITagProcessor> getTagProcessors()
IDialectReturns the set of tag processors.
getTagProcessors in interface IDialectgetTagProcessors in class AbstractDialectprotected Set<ITagProcessor> getAdditionalTagProcessors()
protected Set<Class<? extends ITagProcessor>> getRemovedTagProcessors()
public Set<IValueProcessor> getValueProcessors()
IDialectReturns the set of value processors.
getValueProcessors in interface IDialectgetValueProcessors in class AbstractDialectprotected Set<IValueProcessor> getAdditionalValueProcessors()
protected Set<Class<? extends IValueProcessor>> getRemovedValueProcessors()
public static Set<ITagProcessor> createStandardTagProcessorsSet()
public static Set<IAttrProcessor> createStandardAttrProcessorsSet()
public static Set<IValueProcessor> createStandardValueProcessorsSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||