com.uwyn.rife.template
Class TemplateFactory
java.lang.Object
com.uwyn.rife.datastructures.EnumClass<String>
com.uwyn.rife.template.TemplateFactory
public class TemplateFactory
- extends EnumClass<String>
|
Constructor Summary |
TemplateFactory(ResourceFinder resourceFinder,
String identifier,
com.uwyn.rife.template.Parser.Config[] configs,
String defaultContentType,
String extension,
String[] blockFilters,
String[] valueFilters,
BeanHandler beanHandler,
TemplateEncoder encoder,
TemplateInitializer initializer)
|
TemplateFactory(String identifier,
TemplateFactory base)
|
CONFIG_INVISIBLE_XML
public static final com.uwyn.rife.template.Parser.Config CONFIG_INVISIBLE_XML
CONFIG_XML_TAGS
public static final com.uwyn.rife.template.Parser.Config CONFIG_XML_TAGS
CONFIG_VELOCITY
public static final com.uwyn.rife.template.Parser.Config CONFIG_VELOCITY
CONFIG_INVISIBLE_TXT
public static final com.uwyn.rife.template.Parser.Config CONFIG_INVISIBLE_TXT
CONFIG_INVISIBLE_SQL
public static final com.uwyn.rife.template.Parser.Config CONFIG_INVISIBLE_SQL
CONFIG_INVISIBLE_JAVA
public static final com.uwyn.rife.template.Parser.Config CONFIG_INVISIBLE_JAVA
CONFIGS_XML
public static final com.uwyn.rife.template.Parser.Config[] CONFIGS_XML
CONFIGS_TXT
public static final com.uwyn.rife.template.Parser.Config[] CONFIGS_TXT
CONFIGS_SQL
public static final com.uwyn.rife.template.Parser.Config[] CONFIGS_SQL
CONFIGS_JAVA
public static final com.uwyn.rife.template.Parser.Config[] CONFIGS_JAVA
PREFIX_CONFIG
public static final String PREFIX_CONFIG
- See Also:
- Constant Field Values
PREFIX_L10N
public static final String PREFIX_L10N
- See Also:
- Constant Field Values
PREFIX_LANG
public static final String PREFIX_LANG
- See Also:
- Constant Field Values
PREFIX_OGNL_CONFIG
public static final String PREFIX_OGNL_CONFIG
- See Also:
- Constant Field Values
PREFIX_OGNL
public static final String PREFIX_OGNL
- See Also:
- Constant Field Values
PREFIX_MVEL_CONFIG
public static final String PREFIX_MVEL_CONFIG
- See Also:
- Constant Field Values
PREFIX_MVEL
public static final String PREFIX_MVEL
- See Also:
- Constant Field Values
PREFIX_GROOVY_CONFIG
public static final String PREFIX_GROOVY_CONFIG
- See Also:
- Constant Field Values
PREFIX_GROOVY
public static final String PREFIX_GROOVY
- See Also:
- Constant Field Values
PREFIX_JANINO_CONFIG
public static final String PREFIX_JANINO_CONFIG
- See Also:
- Constant Field Values
PREFIX_JANINO
public static final String PREFIX_JANINO
- See Also:
- Constant Field Values
PREFIX_RENDER
public static final String PREFIX_RENDER
- See Also:
- Constant Field Values
TAG_CONFIG
public static final String TAG_CONFIG
- See Also:
- Constant Field Values
TAG_L10N
public static final String TAG_L10N
- See Also:
- Constant Field Values
TAG_LANG
public static final String TAG_LANG
- See Also:
- Constant Field Values
TAG_OGNL_CONFIG
public static final String TAG_OGNL_CONFIG
- See Also:
- Constant Field Values
TAG_OGNL
public static final String TAG_OGNL
- See Also:
- Constant Field Values
TAG_MVEL_CONFIG
public static final String TAG_MVEL_CONFIG
- See Also:
- Constant Field Values
TAG_MVEL
public static final String TAG_MVEL
- See Also:
- Constant Field Values
TAG_GROOVY_CONFIG
public static final String TAG_GROOVY_CONFIG
- See Also:
- Constant Field Values
TAG_GROOVY
public static final String TAG_GROOVY
- See Also:
- Constant Field Values
TAG_JANINO_CONFIG
public static final String TAG_JANINO_CONFIG
- See Also:
- Constant Field Values
TAG_JANINO
public static final String TAG_JANINO
- See Also:
- Constant Field Values
TAG_RENDER
public static final String TAG_RENDER
- See Also:
- Constant Field Values
HTML
public static TemplateFactory HTML
XHTML
public static TemplateFactory XHTML
XML
public static TemplateFactory XML
TXT
public static TemplateFactory TXT
SQL
public static TemplateFactory SQL
JAVA
public static TemplateFactory JAVA
ENGINEHTML
public static TemplateFactory ENGINEHTML
ENGINEXHTML
public static TemplateFactory ENGINEXHTML
ENGINEXML
public static TemplateFactory ENGINEXML
ENGINETXT
public static TemplateFactory ENGINETXT
mDefaultContentType
protected String mDefaultContentType
TemplateFactory
public TemplateFactory(ResourceFinder resourceFinder,
String identifier,
com.uwyn.rife.template.Parser.Config[] configs,
String defaultContentType,
String extension,
String[] blockFilters,
String[] valueFilters,
BeanHandler beanHandler,
TemplateEncoder encoder,
TemplateInitializer initializer)
TemplateFactory
public TemplateFactory(String identifier,
TemplateFactory base)
getIdentifierUppercase
public String getIdentifierUppercase()
getDefaultContentType
public String getDefaultContentType()
getFactoryTypes
public static Collection<String> getFactoryTypes()
getFactory
public static TemplateFactory getFactory(String identifier)
get
public Template get(String name)
throws TemplateException
- Throws:
TemplateException
get
public Template get(String name,
TemplateTransformer transformer)
throws TemplateException
- Throws:
TemplateException
get
public Template get(String name,
String encoding)
throws TemplateException
- Throws:
TemplateException
get
public Template get(String name,
String encoding,
TemplateTransformer transformer)
throws TemplateException
- Throws:
TemplateException
parse
public Class parse(String name,
String encoding,
TemplateTransformer transformer)
throws TemplateException
- Throws:
TemplateException
setResourceFinder
public TemplateFactory setResourceFinder(ResourceFinder resourceFinder)
getResourceFinder
public ResourceFinder getResourceFinder()
setBeanHandler
public TemplateFactory setBeanHandler(BeanHandler beanHandler)
getBeanHandler
public BeanHandler getBeanHandler()
setEncoder
public TemplateFactory setEncoder(TemplateEncoder encoder)
getEncoder
public TemplateEncoder getEncoder()
setInitializer
public TemplateFactory setInitializer(TemplateInitializer initializer)
getInitializer
public TemplateInitializer getInitializer()
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.