|
||||||||||
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
StandardClassappendAttrProcessor
StandardConditionalFixedValueAttrProcessor
StandardDOMEventAttributeModifierAttrProcessor
StandardEachAttrProcessor
StandardFragmentAttrProcessor
StandardObjectAttrProcessor
StandardIfAttrProcessor
StandardInlineAttrProcessor
StandardUnlessAttrProcessor
StandardIncludeAttrProcessor
StandardLangXmlLangAttrProcessor
StandardRemoveAttrProcessor
StandardSingleNonRemovableAttributeModifierAttrProcessor
StandardSingleRemovableAttributeModifierAttrProcessor
StandardTextAttrProcessor
StandardUtextAttrProcessor
StandardWithAttrProcessor
StandardXmlBaseAttrProcessor
StandardXmlLangAttrProcessor
StandardXmlSpaceAttrProcessor
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()
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 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()
IDialect
Returns 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()
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<IAttrProcessor> getAttrProcessors()
IDialect
Returns the set of attribute processors.
getAttrProcessors
in interface IDialect
getAttrProcessors
in class AbstractDialect
protected Set<IAttrProcessor> getAdditionalAttrProcessors()
protected Set<Class<? extends IAttrProcessor>> getRemovedAttrProcessors()
public Set<ITagProcessor> getTagProcessors()
IDialect
Returns the set of tag processors.
getTagProcessors
in interface IDialect
getTagProcessors
in class AbstractDialect
protected Set<ITagProcessor> getAdditionalTagProcessors()
protected Set<Class<? extends ITagProcessor>> getRemovedTagProcessors()
public Set<IValueProcessor> getValueProcessors()
IDialect
Returns the set of value processors.
getValueProcessors
in interface IDialect
getValueProcessors
in class AbstractDialect
protected 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 |