org.thymeleaf.dialect
Class AbstractDialect

Object
  extended by org.thymeleaf.dialect.AbstractDialect
All Implemented Interfaces:
IDialect
Direct Known Subclasses:
AbstractXHTMLEnabledDialect

public abstract class AbstractDialect
extends Object
implements IDialect

Abstract implementation of IDialect that returns empty sets for all dialect components.

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
AbstractDialect()
           
 
Method Summary
 Set<IAttrProcessor> getAttrProcessors()
           Returns the set of attribute processors.
 Set<IDocTypeResolutionEntry> getDocTypeResolutionEntries()
           Returns the set of DOCTYPE resolution entries.
 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.
 Set<ITagProcessor> getTagProcessors()
           Returns the set of tag processors.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.thymeleaf.dialect.IDialect
getPrefix, isLenient
 

Constructor Detail

AbstractDialect

public AbstractDialect()
Method Detail

getAttrProcessors

public Set<IAttrProcessor> getAttrProcessors()
Description copied from interface: IDialect

Returns the set of attribute processors.

Specified by:
getAttrProcessors in interface IDialect
Returns:
the set of attribute processors.

getTagProcessors

public Set<ITagProcessor> getTagProcessors()
Description copied from interface: IDialect

Returns the set of tag processors.

Specified by:
getTagProcessors in interface IDialect
Returns:
the set of tag processors.

getExecutionAttributes

public Map<String,Object> getExecutionAttributes()
Description copied from interface: 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.

Specified by:
getExecutionAttributes in interface IDialect
Returns:
the execution attributes for this dialect.

getDocTypeTranslations

public Set<IDocTypeTranslation> getDocTypeTranslations()
Description copied from interface: IDialect

Returns the set of DOCTYPE translations.

Specified by:
getDocTypeTranslations in interface IDialect
Returns:
the set of DOCTYPE translations.

getDocTypeResolutionEntries

public Set<IDocTypeResolutionEntry> getDocTypeResolutionEntries()
Description copied from interface: IDialect

Returns the set of DOCTYPE resolution entries.

Specified by:
getDocTypeResolutionEntries in interface IDialect
Returns:
the set of DOCTYPE resolution entries.


Copyright © 2012 The THYMELEAF team. All Rights Reserved.