Java Doc for Environment.java in  » Template-Engine » freemarker-2.3.10 » freemarker » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Template Engine » freemarker 2.3.10 » freemarker.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   freemarker.core.Configurable
      freemarker.core.Environment

Environment
final public class Environment extends Configurable (Code)
Object that represents the runtime environment during template processing. For every invocation of a Template.process() method, a new instance of this object is created, and then discarded when process() returns. This object stores the set of temporary variables created by the template, the value of settings set by the template, the reference to the data model root, etc. Everything that is needed to fulfill the template processing job.

Data models that need to access the Environment object that represents the template processing on the current thread can use the Environment.getCurrentEnvironment() method.

If you need to modify or read this object before or after the process call, use Template.createProcessingEnvironment(Object rootMapWriter outObjectWrapper wrapper)
author:
   Jonathan Revusky
author:
   Attila Szegedi


Inner Class :public class Namespace extends SimpleHash

Field Summary
final static  WriterNULL_WRITER
    

Constructor Summary
public  Environment(Template template, TemplateHashModel rootDataModel, Writer out)
    

Method Summary
public  Object__getitem__(String key)
     A hook that Jython uses.
public  void__setitem__(String key, Object o)
     A hook that Jython uses.
 voidclearLastReturnValue()
    
 voidfallback()
    
 StringformatDate(Date date, int type)
    
 StringformatNumber(Number number)
    
 CollatorgetCollator()
    
public  ConfigurationgetConfiguration()
    
public static  EnvironmentgetCurrentEnvironment()
     Retrieves the environment object associated with the current thread.
 Macro.ContextgetCurrentMacroContext()
    
public  NamespacegetCurrentNamespace()
     Returns the main name-space.
 StringgetCurrentRecoveredErrorMesssage()
    
public  TemplateNodeModelgetCurrentVisitorNode()
    
public  TemplateHashModelgetDataModel()
     Returns the data model hash.
 DateFormatgetDateFormatObject(int dateType)
    
 DateFormatgetDateFormatObject(int dateType, String pattern)
    
public  StringgetDefaultNS()
    
 StringgetEffectiveURLEscapingCharset()
     Returns the name of the charset that should be used for URL encoding. This will be null if the information is not available. The function caches the return value, so it is quick to call it repeately.
public  NamespacegetGlobalNamespace()
     Returns a fictitious name-space that contains the globally visible variables that were created in the template, but not the variables of the data-model.
public  TemplateModelgetGlobalVariable(String name)
     Returns the globally visible variable of the given name (or null).
public  TemplateHashModelgetGlobalVariables()
     Returns the read-only hash of globally visible variables.
public  SetgetKnownVariableNames()
     Returns a set of variable names that are known at the time of call.
 TemplateModelgetLastReturnValue()
    
 ArrayListgetLocalContextStack()
    
public  TemplateModelgetLocalVariable(String name)
     Returns the loop or macro local variable corresponding to this variable name.
 NamespacegetMacroNamespace(Macro macro)
    
public  NamespacegetMainNamespace()
     Returns the main name-space.
public  NamespacegetNamespace(String name)
     Returns the name-space for the name if exists, or null.
Parameters:
  name - the template path that you have used with the import directiveor Environment.importLib(String,String) call, in normalized form.
public  StringgetNamespaceForPrefix(String prefix)
    
 TemplateModelgetNodeProcessor(TemplateNodeModel node)
    
 NumberFormatgetNumberFormatObject(String pattern)
    
public  WritergetOut()
    
public  StringgetPrefixForNamespace(String nsURI)
    
public  TemplategetTemplate()
     Retrieves the currently processed template.
public  TemplategetTemplateForImporting(String name)
     Gets a template for importing; used with Environment.importLib(Template importedTemplate,String namespace) .
public  TemplategetTemplateForInclusion(String name, String encoding, boolean parse)
     Gets a template for inclusion; used with Environment.include(Template includedTemplate) . The advantage over simply using config.getTemplate(...) is that it chooses the default encoding as the include directive does.
Parameters:
  name - the name of the template, relatively to the template root directory(not the to the directory of the currently executing template file!).(Note that you can use freemarker.cache.TemplateCache.getFullTemplatePathto convert paths to template root relative paths.)
Parameters:
  encoding - the encoding of the obtained template.
 TemplateTransformModelgetTransform(Expression exp)
    
public  TemplateModelgetVariable(String name)
     Returns the variable that is visible in this context.
public  NamespaceimportLib(String name, String namespace)
     Emulates import directive, except that name must be tempate root relative.
public  NamespaceimportLib(Template loadedTemplate, String namespace)
     Emulates import directive.
Parameters:
  loadedTemplate - the template to import.
 voidimportMacros(Template template)
    
public  voidinclude(String name, String encoding, boolean parse)
     Emulates include directive, except that name must be tempate root relative.
public  voidinclude(Template includedTemplate)
     Processes a Template in the context of this Environment, including its output in the Environment's Writer.
Parameters:
  includedTemplate - the template to process.
public  voidoutputInstructionStack(PrintWriter pw)
     Outputs the instruction stack.
 intparseDateStyleToken(String token)
    
public  voidprocess()
     Processes the template to which this environment belongs.
 voidrecurse(TemplateNodeModel node, TemplateSequenceModel namespaces)
    
 StringrenderElementToString(TemplateElement te)
    
public  voidsetCurrentVisitorNode(TemplateNodeModel node)
     sets TemplateNodeModel as the current visitor node.
public  voidsetDateFormat(String formatName)
    
public  voidsetDateTimeFormat(String formatName)
    
public  voidsetGlobalVariable(String name, TemplateModel model)
     Sets a variable that is visible globally.
 voidsetLastReturnValue(TemplateModel lastReturnValue)
    
public  voidsetLocalVariable(String name, TemplateModel model)
     Sets a local variable (one effective only during a macro invocation).
public  voidsetLocale(Locale locale)
    
public  voidsetNumberFormat(String formatName)
    
public  voidsetOut(Writer out)
    
public  voidsetOutputEncoding(String outputEncoding)
    
public  voidsetTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)
    
public  voidsetTimeFormat(String formatName)
    
public  voidsetTimeZone(TimeZone timeZone)
    
public  voidsetURLEscapingCharset(String urlEscapingCharset)
    
public  voidsetVariable(String name, TemplateModel model)
     Sets a variable in the current namespace.
 voidvisit(TemplateElement element)
     "Visit" the template element.
 voidvisit(TemplateElement element, TemplateTransformModel transform, Map args)
    
 voidvisit(TemplateElement attemptBlock, TemplateElement recoveryBlock)
    
 voidvisit(BodyInstruction.Context bctxt)
    
 voidvisit(IteratorBlock.Context ictxt)
    
 voidvisit(TemplateNodeModel node, TemplateSequenceModel namespaces)
    
 voidvisit(Macro macro, Map namedArgs, List positionalArgs, List bodyParameterNames, TemplateElement nestedBlock)
     "visit" a macro.
 voidvisitMacroDef(Macro macro)
    

Field Detail
NULL_WRITER
final static Writer NULL_WRITER(Code)




Constructor Detail
Environment
public Environment(Template template, TemplateHashModel rootDataModel, Writer out)(Code)




Method Detail
__getitem__
public Object __getitem__(String key) throws TemplateModelException(Code)
A hook that Jython uses.



__setitem__
public void __setitem__(String key, Object o) throws TemplateException(Code)
A hook that Jython uses.



clearLastReturnValue
void clearLastReturnValue()(Code)



fallback
void fallback() throws TemplateException, IOException(Code)



formatDate
String formatDate(Date date, int type) throws TemplateModelException(Code)



formatNumber
String formatNumber(Number number)(Code)



getCollator
Collator getCollator()(Code)



getConfiguration
public Configuration getConfiguration()(Code)



getCurrentEnvironment
public static Environment getCurrentEnvironment()(Code)
Retrieves the environment object associated with the current thread. Data model implementations that need access to the environment can call this method to obtain the environment object that represents the template processing that is currently running on the current thread.



getCurrentMacroContext
Macro.Context getCurrentMacroContext()(Code)



getCurrentNamespace
public Namespace getCurrentNamespace()(Code)
Returns the main name-space. This is correspondent of FTL .namespace hash.



getCurrentRecoveredErrorMesssage
String getCurrentRecoveredErrorMesssage() throws TemplateException(Code)



getCurrentVisitorNode
public TemplateNodeModel getCurrentVisitorNode()(Code)



getDataModel
public TemplateHashModel getDataModel()(Code)
Returns the data model hash. This is correspondent of FTL .datamodel hash. That is, it contains both the variables of the root hash passed to the Template.process(...), and the shared variables in the Configuration.



getDateFormatObject
DateFormat getDateFormatObject(int dateType) throws TemplateModelException(Code)



getDateFormatObject
DateFormat getDateFormatObject(int dateType, String pattern) throws TemplateModelException(Code)



getDefaultNS
public String getDefaultNS()(Code)
the default node namespace for the current FTL namespace



getEffectiveURLEscapingCharset
String getEffectiveURLEscapingCharset()(Code)
Returns the name of the charset that should be used for URL encoding. This will be null if the information is not available. The function caches the return value, so it is quick to call it repeately.



getGlobalNamespace
public Namespace getGlobalNamespace()(Code)
Returns a fictitious name-space that contains the globally visible variables that were created in the template, but not the variables of the data-model. There is no such thing in FTL; this strange method was added because of the JSP taglib support, since this imaginary name-space contains the page-scope attributes.



getGlobalVariable
public TemplateModel getGlobalVariable(String name) throws TemplateModelException(Code)
Returns the globally visible variable of the given name (or null). This is correspondent to FTL .globals.name. This will first look at variables that were assigned globally via: <#global ...> and then at the data model exposed to the template.



getGlobalVariables
public TemplateHashModel getGlobalVariables()(Code)
Returns the read-only hash of globally visible variables. This is the correspondent of FTL .globals hash. That is, you see the variables created with <#global ...>, and the variables of the data-model. To create new global variables, use Environment.setGlobalVariable setGlobalVariable .



getKnownVariableNames
public Set getKnownVariableNames() throws TemplateModelException(Code)
Returns a set of variable names that are known at the time of call. This includes names of all shared variables in the Configuration , names of all global variables that were assigned during the template processing, names of all variables in the current name-space, names of all local variables and loop variables. If the passed root data model implements the TemplateHashModelEx interface, then all names it retrieves through a call to TemplateHashModelEx.keys method are returned as well. The method returns a new Set object on each call that is completely disconnected from the Environment. That is, modifying the set will have no effect on the Environment object.



getLastReturnValue
TemplateModel getLastReturnValue()(Code)



getLocalContextStack
ArrayList getLocalContextStack()(Code)



getLocalVariable
public TemplateModel getLocalVariable(String name) throws TemplateModelException(Code)
Returns the loop or macro local variable corresponding to this variable name. Possibly null. (Note that the misnomer is kept for backward compatibility: loop variables are not local variables according to our terminology.)



getMacroNamespace
Namespace getMacroNamespace(Macro macro)(Code)



getMainNamespace
public Namespace getMainNamespace()(Code)
Returns the main name-space. This is correspondent of FTL .main hash.



getNamespace
public Namespace getNamespace(String name)(Code)
Returns the name-space for the name if exists, or null.
Parameters:
  name - the template path that you have used with the import directiveor Environment.importLib(String,String) call, in normalized form. That is, the path must be an absolutepath, and it must not contain "/../" or "/./". The leading "/" is optional.



getNamespaceForPrefix
public String getNamespaceForPrefix(String prefix)(Code)
the namespace URI registered for this prefix, or null.This is based on the mappings registered in the current namespace.



getNodeProcessor
TemplateModel getNodeProcessor(TemplateNodeModel node) throws TemplateException(Code)



getNumberFormatObject
NumberFormat getNumberFormatObject(String pattern)(Code)



getOut
public Writer getOut()(Code)



getPrefixForNamespace
public String getPrefixForNamespace(String nsURI)(Code)



getTemplate
public Template getTemplate()(Code)
Retrieves the currently processed template.



getTemplateForImporting
public Template getTemplateForImporting(String name) throws IOException(Code)
Gets a template for importing; used with Environment.importLib(Template importedTemplate,String namespace) . The advantage over simply using config.getTemplate(...) is that it chooses the encoding as the import directive does.
Parameters:
  name - the name of the template, relatively to the template root directory(not the to the directory of the currently executing template file!).(Note that you can use freemarker.cache.TemplateCache.getFullTemplatePathto convert paths to template root relative paths.)



getTemplateForInclusion
public Template getTemplateForInclusion(String name, String encoding, boolean parse) throws IOException(Code)
Gets a template for inclusion; used with Environment.include(Template includedTemplate) . The advantage over simply using config.getTemplate(...) is that it chooses the default encoding as the include directive does.
Parameters:
  name - the name of the template, relatively to the template root directory(not the to the directory of the currently executing template file!).(Note that you can use freemarker.cache.TemplateCache.getFullTemplatePathto convert paths to template root relative paths.)
Parameters:
  encoding - the encoding of the obtained template. If null,the encoding of the Template that is currently being processed in thisEnvironment is used.
Parameters:
  parse - whether to process a parsed template or just include theunparsed template source.



getTransform
TemplateTransformModel getTransform(Expression exp) throws TemplateException(Code)



getVariable
public TemplateModel getVariable(String name) throws TemplateModelException(Code)
Returns the variable that is visible in this context. This is the correspondent to an FTL top-level variable reading expression. That is, it tries to find the the variable in this order:
  1. An loop variable (if we're in a loop or user defined directive body) such as foo_has_next
  2. A local variable (if we're in a macro)
  3. A variable defined in the current namespace (say, via <#assign ...>)
  4. A variable defined globally (say, via <#global ....>)
  5. Variable in the data model:
    1. A variable in the root hash that was exposed to this rendering environment in the Template.process(...) call
    2. A shared variable set in the configuration via a call to Configuration.setSharedVariable(...)



importLib
public Namespace importLib(String name, String namespace) throws IOException, TemplateException(Code)
Emulates import directive, except that name must be tempate root relative.

It's the same as importLib(getTemplateForImporting(name), namespace). But, you may want to separately call these two methods, so you can determine the source of exceptions more precisely, and thus achieve more intelligent error handling.
See Also:   Environment.getTemplateForImporting(String name)
See Also:   Environment.importLib(Template includedTemplate,String namespace)




importLib
public Namespace importLib(Template loadedTemplate, String namespace) throws IOException, TemplateException(Code)
Emulates import directive.
Parameters:
  loadedTemplate - the template to import. Note that it does not needto be a template returned by Environment.getTemplateForImporting(String name).



importMacros
void importMacros(Template template)(Code)



include
public void include(String name, String encoding, boolean parse) throws IOException, TemplateException(Code)
Emulates include directive, except that name must be tempate root relative.

It's the same as include(getTemplateForInclusion(name, encoding, parse)). But, you may want to separately call these two methods, so you can determine the source of exceptions more precisely, and thus achieve more intelligent error handling.
See Also:   Environment.getTemplateForInclusion(String name,String encoding,boolean parse)
See Also:   Environment.include(Template includedTemplate)




include
public void include(Template includedTemplate) throws TemplateException, IOException(Code)
Processes a Template in the context of this Environment, including its output in the Environment's Writer.
Parameters:
  includedTemplate - the template to process. Note that it does not needto be a template returned byEnvironment.getTemplateForInclusion(String name,String encoding,boolean parse).



outputInstructionStack
public void outputInstructionStack(PrintWriter pw)(Code)
Outputs the instruction stack. Useful for debugging. TemplateException s incorporate this information in their stack traces.



parseDateStyleToken
int parseDateStyleToken(String token)(Code)



process
public void process() throws TemplateException, IOException(Code)
Processes the template to which this environment belongs.



recurse
void recurse(TemplateNodeModel node, TemplateSequenceModel namespaces) throws TemplateException, IOException(Code)



renderElementToString
String renderElementToString(TemplateElement te) throws IOException, TemplateException(Code)



setCurrentVisitorNode
public void setCurrentVisitorNode(TemplateNodeModel node)(Code)
sets TemplateNodeModel as the current visitor node. .current_node



setDateFormat
public void setDateFormat(String formatName)(Code)



setDateTimeFormat
public void setDateTimeFormat(String formatName)(Code)



setGlobalVariable
public void setGlobalVariable(String name, TemplateModel model)(Code)
Sets a variable that is visible globally. This is correspondent to FTL <#global name=model>. This can be considered a convenient shorthand for: getGlobalNamespace().put(name, model)



setLastReturnValue
void setLastReturnValue(TemplateModel lastReturnValue)(Code)



setLocalVariable
public void setLocalVariable(String name, TemplateModel model)(Code)
Sets a local variable (one effective only during a macro invocation). This is correspondent to FTL <#local name=model>.
Parameters:
  name - the identifier of the variable
Parameters:
  model - the value of the variable.
throws:
  IllegalStateException - if the environment is not executing amacro body.



setLocale
public void setLocale(Locale locale)(Code)



setNumberFormat
public void setNumberFormat(String formatName)(Code)



setOut
public void setOut(Writer out)(Code)



setOutputEncoding
public void setOutputEncoding(String outputEncoding)(Code)



setTemplateExceptionHandler
public void setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)(Code)



setTimeFormat
public void setTimeFormat(String formatName)(Code)



setTimeZone
public void setTimeZone(TimeZone timeZone)(Code)



setURLEscapingCharset
public void setURLEscapingCharset(String urlEscapingCharset)(Code)



setVariable
public void setVariable(String name, TemplateModel model)(Code)
Sets a variable in the current namespace. This is correspondent to FTL <#assign name=model>. This can be considered a convenient shorthand for: getCurrentNamespace().put(name, model)



visit
void visit(TemplateElement element) throws TemplateException, IOException(Code)
"Visit" the template element.



visit
void visit(TemplateElement element, TemplateTransformModel transform, Map args) throws TemplateException, IOException(Code)
"Visit" the template element, passing the output through a TemplateTransformModel
Parameters:
  element - the element to visit through a transform
Parameters:
  transform - the transform to pass the element outputthrough
Parameters:
  args - optional arguments fed to the transform



visit
void visit(TemplateElement attemptBlock, TemplateElement recoveryBlock) throws TemplateException, IOException(Code)
Visit a block using buffering/recovery



visit
void visit(BodyInstruction.Context bctxt) throws TemplateException, IOException(Code)



visit
void visit(IteratorBlock.Context ictxt) throws TemplateException, IOException(Code)
"visit" an IteratorBlock



visit
void visit(TemplateNodeModel node, TemplateSequenceModel namespaces) throws TemplateException, IOException(Code)
"Visit" A TemplateNodeModel



visit
void visit(Macro macro, Map namedArgs, List positionalArgs, List bodyParameterNames, TemplateElement nestedBlock) throws TemplateException, IOException(Code)
"visit" a macro.



visitMacroDef
void visitMacroDef(Macro macro)(Code)



Fields inherited from freemarker.core.Configurable
final public static String ARITHMETIC_ENGINE_KEY(Code)(Java Doc)
final public static String BOOLEAN_FORMAT_KEY(Code)(Java Doc)
final public static String CLASSIC_COMPATIBLE_KEY(Code)(Java Doc)
final public static String DATETIME_FORMAT_KEY(Code)(Java Doc)
final public static String DATE_FORMAT_KEY(Code)(Java Doc)
final public static String LOCALE_KEY(Code)(Java Doc)
final public static String NUMBER_FORMAT_KEY(Code)(Java Doc)
final public static String OBJECT_WRAPPER_KEY(Code)(Java Doc)
final public static String OUTPUT_ENCODING_KEY(Code)(Java Doc)
final public static String STRICT_BEAN_MODELS(Code)(Java Doc)
final public static String TEMPLATE_EXCEPTION_HANDLER_KEY(Code)(Java Doc)
final public static String TIME_FORMAT_KEY(Code)(Java Doc)
final public static String TIME_ZONE_KEY(Code)(Java Doc)
final public static String URL_ESCAPING_CHARSET_KEY(Code)(Java Doc)

Methods inherited from freemarker.core.Configurable
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public ArithmeticEngine getArithmeticEngine()(Code)(Java Doc)
public String getBooleanFormat()(Code)(Java Doc)
String getBooleanFormat(boolean value)(Code)(Java Doc)
Object getCustomAttribute(Object key, CustomAttribute attr)(Code)(Java Doc)
public Object getCustomAttribute(String name)(Code)(Java Doc)
public String[] getCustomAttributeNames()(Code)(Java Doc)
public String getDateFormat()(Code)(Java Doc)
public String getDateTimeFormat()(Code)(Java Doc)
protected Environment getEnvironment()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public String getNumberFormat()(Code)(Java Doc)
public ObjectWrapper getObjectWrapper()(Code)(Java Doc)
public String getOutputEncoding()(Code)(Java Doc)
final public Configurable getParent()(Code)(Java Doc)
public String getSetting(String key)(Code)(Java Doc)
public Map getSettings()(Code)(Java Doc)
public TemplateExceptionHandler getTemplateExceptionHandler()(Code)(Java Doc)
public String getTimeFormat()(Code)(Java Doc)
public TimeZone getTimeZone()(Code)(Java Doc)
public String getURLEscapingCharset()(Code)(Java Doc)
protected TemplateException invalidSettingValueException(String name, String value)(Code)(Java Doc)
public boolean isClassicCompatible()(Code)(Java Doc)
public void removeCustomAttribute(String name)(Code)(Java Doc)
public void setArithmeticEngine(ArithmeticEngine arithmeticEngine)(Code)(Java Doc)
public void setBooleanFormat(String booleanFormat)(Code)(Java Doc)
public void setClassicCompatible(boolean classicCompatibility)(Code)(Java Doc)
void setCustomAttribute(Object key, Object value)(Code)(Java Doc)
public void setCustomAttribute(String name, Object value)(Code)(Java Doc)
public void setDateFormat(String dateFormat)(Code)(Java Doc)
public void setDateTimeFormat(String dateTimeFormat)(Code)(Java Doc)
public void setLocale(Locale locale)(Code)(Java Doc)
public void setNumberFormat(String numberFormat)(Code)(Java Doc)
public void setObjectWrapper(ObjectWrapper objectWrapper)(Code)(Java Doc)
public void setOutputEncoding(String outputEncoding)(Code)(Java Doc)
final void setParent(Configurable parent)(Code)(Java Doc)
public void setSetting(String key, String value) throws TemplateException(Code)(Java Doc)
public void setSettings(Properties props) throws TemplateException(Code)(Java Doc)
public void setSettings(InputStream propsIn) throws TemplateException, IOException(Code)(Java Doc)
public void setStrictBeanModels(boolean strict)(Code)(Java Doc)
public void setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)(Code)(Java Doc)
public void setTimeFormat(String timeFormat)(Code)(Java Doc)
public void setTimeZone(TimeZone timeZone)(Code)(Java Doc)
public void setURLEscapingCharset(String urlEscapingCharset)(Code)(Java Doc)
protected TemplateException unknownSettingException(String name)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.