Java Doc for AbstractTemplate.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » template » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.template 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.uwyn.rife.template.AbstractTemplate

AbstractTemplate
abstract public class AbstractTemplate implements Template(Code)


Field Summary
protected  BeanHandlermBeanHandler
    
protected  Map<String, Object>mCache
    
protected  Map<String, InternalValue>mConstructedValues
    
protected  StringmDefaultContentType
    
protected  List<ResourceBundle>mDefaultResourceBundles
    
protected  TemplateEncodermEncoder
    
protected  Map<String, Object>mExpressionVars
    
protected  Map<String, InternalString>mFixedValues
    
protected  TemplateInitializermInitializer
    
protected  StringmLanguage
    
protected  List<ResourceBundle>mResourceBundles
    

Constructor Summary
protected  AbstractTemplate()
    

Method Summary
final public  voidaddResourceBundle(ResourceBundle resourceBundle)
    
final public  voidappendBlock(String valueId, String blockId)
    
abstract protected  booleanappendBlockExternalForm(String id, ExternalValue result)
    
abstract protected  booleanappendBlockInternalForm(String id, InternalValue result)
    
abstract protected  booleanappendDefaultValueExternalForm(String id, ExternalValue result)
    
abstract protected  booleanappendDefaultValueInternalForm(String id, InternalValue result)
    
protected  voidappendTextInternal(InternalValue value, CharSequence text)
    
final public  voidappendValue(String id, Object value)
    
final public  voidappendValue(String id, boolean value)
    
final public  voidappendValue(String id, char value)
    
final public  voidappendValue(String id, char[] value)
    
final public  voidappendValue(String id, char[] value, int offset, int count)
    
final public  voidappendValue(String id, double value)
    
final public  voidappendValue(String id, float value)
    
final public  voidappendValue(String id, int value)
    
final public  voidappendValue(String id, long value)
    
final public  voidappendValue(String id, String value)
    
final protected  voidappendValueExternalForm(String id, String tag, ExternalValue result)
    
final protected  voidappendValueInternalForm(String id, String tag, InternalValue result)
    
final public  voidblankValue(String id)
    
public  voidcacheObject(String key, Object value)
    
final public  voidclear()
    
public  Templateclone()
    
final public  intcountValues()
    
final public  InternalValuecreateInternalValue()
    
public  List<String>evaluateConfigTags()
    
public  List<String>evaluateExpressionConfigTags(String id)
    
public  List<String>evaluateExpressionTags(String id)
    
public  List<String>evaluateL10nTags()
    
public  List<String>evaluateLangTags(String id)
    
public  List<String>evaluateRenderTags()
    
abstract public  String[]getAvailableValueIds()
    
final public  BeanHandlergetBeanHandler()
    
public  StringgetBlock(String id)
    
public  ObjectgetCacheObject(String key)
    
final public  StringgetContent()
    
public  StringgetDefaultContentType()
    
abstract public  StringgetDefaultValue(String id)
    
final public  List<CharSequence>getDeferredBlock(String id)
    
final public  List<CharSequence>getDeferredContent()
    
final public  TemplateEncodergetEncoder()
    
public  Map<String, Object>getExpressionVars()
    
abstract public  List<String[]>getFilteredBlocks(String filter)
    
abstract public  List<String[]>getFilteredValues(String filter)
    
public  StringgetLanguage()
    
abstract public  longgetModificationTime()
    
final public  Collection<ResourceBundle>getResourceBundles()
    
abstract public  Collection<String>getUnsetValueIds()
    
final public  StringgetValue(String id)
    
final public  booleanhasBlock(String id)
    
public  booleanhasDefaultValue(String id)
    
abstract public  booleanhasFilteredBlocks(String filter)
    
abstract public  booleanhasFilteredValues(String filter)
    
final public  booleanhasResourceBundles()
    
abstract public  booleanhasValueId(String id)
    
protected  voidincreasePartsCapacityInternal(InternalValue value, int size)
    
protected  voidincreaseValuesCapacityInternal(InternalValue value, int size)
    
final  voidinitialize()
    
protected static  booleanisTemplateClassModified(URL templateResource, long templateModificationTime, Map templateDependencies, String templateModificationState, ResourceFinder resourceFinder, String modificationState)
    
final public  booleanisValueSet(String id)
    
public  voidremoveBean(Object bean)
    
public  voidremoveBean(Object bean, String prefix)
    
final public  voidremoveValue(String id)
    
final public  voidremoveValues(List<String> ids)
    
public  voidsetBean(Object bean)
    
public  voidsetBean(Object bean, String prefix)
    
public  voidsetBean(Object bean, String prefix, boolean encode)
    
final  voidsetBeanHandler(BeanHandler beanHandler)
    
final public  voidsetBlock(String valueId, String blockId)
    
public  voidsetDefaultContentType(String defaultContentType)
    
 voidsetDefaultResourceBundles(ArrayList<ResourceBundle> bundles)
    
final  voidsetEncoder(TemplateEncoder encoder)
    
public  voidsetExpressionVar(String name, Object value)
    
public  voidsetExpressionVars(Map<String, Object> map)
    
final  voidsetInitializer(TemplateInitializer initializer)
    
public  voidsetLanguage(String lang)
    
final public  voidsetValue(String id, List<CharSequence> deferredContent)
    
final public  voidsetValue(String id, InternalValue internalValue)
    
final public  voidsetValue(String id, Template template)
    
final public  voidsetValue(String id, Object value)
    
final public  voidsetValue(String id, boolean value)
    
final public  voidsetValue(String id, char value)
    
final public  voidsetValue(String id, char[] value)
    
final public  voidsetValue(String id, char[] value, int offset, int count)
    
final public  voidsetValue(String id, double value)
    
final public  voidsetValue(String id, float value)
    
final public  voidsetValue(String id, int value)
    
final public  voidsetValue(String id, long value)
    
final public  voidsetValue(String id, String value)
    
final public  voidsetValue(String id, CharSequence value)
    
final public  voidwrite(OutputStream out)
    
public  voidwriteBlock(String id, OutputStream out)
    
public  voidwriteBlock(String id, OutputStream out, String charsetName)
    
final public  voidwriteContent(OutputStream out)
    
final public  voidwriteContent(OutputStream out, String charsetName)
    

Field Detail
mBeanHandler
protected BeanHandler mBeanHandler(Code)



mCache
protected Map<String, Object> mCache(Code)



mConstructedValues
protected Map<String, InternalValue> mConstructedValues(Code)



mDefaultContentType
protected String mDefaultContentType(Code)



mDefaultResourceBundles
protected List<ResourceBundle> mDefaultResourceBundles(Code)



mEncoder
protected TemplateEncoder mEncoder(Code)



mExpressionVars
protected Map<String, Object> mExpressionVars(Code)



mFixedValues
protected Map<String, InternalString> mFixedValues(Code)



mInitializer
protected TemplateInitializer mInitializer(Code)



mLanguage
protected String mLanguage(Code)



mResourceBundles
protected List<ResourceBundle> mResourceBundles(Code)




Constructor Detail
AbstractTemplate
protected AbstractTemplate()(Code)




Method Detail
addResourceBundle
final public void addResourceBundle(ResourceBundle resourceBundle)(Code)



appendBlock
final public void appendBlock(String valueId, String blockId) throws TemplateException(Code)



appendBlockExternalForm
abstract protected boolean appendBlockExternalForm(String id, ExternalValue result)(Code)



appendBlockInternalForm
abstract protected boolean appendBlockInternalForm(String id, InternalValue result)(Code)



appendDefaultValueExternalForm
abstract protected boolean appendDefaultValueExternalForm(String id, ExternalValue result)(Code)



appendDefaultValueInternalForm
abstract protected boolean appendDefaultValueInternalForm(String id, InternalValue result)(Code)



appendTextInternal
protected void appendTextInternal(InternalValue value, CharSequence text)(Code)



appendValue
final public void appendValue(String id, Object value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, boolean value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, char value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, char[] value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, char[] value, int offset, int count) throws TemplateException(Code)



appendValue
final public void appendValue(String id, double value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, float value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, int value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, long value) throws TemplateException(Code)



appendValue
final public void appendValue(String id, String value) throws TemplateException(Code)



appendValueExternalForm
final protected void appendValueExternalForm(String id, String tag, ExternalValue result)(Code)



appendValueInternalForm
final protected void appendValueInternalForm(String id, String tag, InternalValue result)(Code)



blankValue
final public void blankValue(String id)(Code)



cacheObject
public void cacheObject(String key, Object value)(Code)



clear
final public void clear()(Code)



clone
public Template clone()(Code)



countValues
final public int countValues()(Code)



createInternalValue
final public InternalValue createInternalValue()(Code)



evaluateConfigTags
public List<String> evaluateConfigTags()(Code)



evaluateExpressionConfigTags
public List<String> evaluateExpressionConfigTags(String id)(Code)



evaluateExpressionTags
public List<String> evaluateExpressionTags(String id)(Code)



evaluateL10nTags
public List<String> evaluateL10nTags()(Code)



evaluateLangTags
public List<String> evaluateLangTags(String id)(Code)



evaluateRenderTags
public List<String> evaluateRenderTags() throws TemplateException(Code)



getAvailableValueIds
abstract public String[] getAvailableValueIds()(Code)



getBeanHandler
final public BeanHandler getBeanHandler()(Code)



getBlock
public String getBlock(String id) throws TemplateException(Code)



getCacheObject
public Object getCacheObject(String key)(Code)



getContent
final public String getContent() throws TemplateException(Code)



getDefaultContentType
public String getDefaultContentType()(Code)



getDefaultValue
abstract public String getDefaultValue(String id)(Code)



getDeferredBlock
final public List<CharSequence> getDeferredBlock(String id) throws TemplateException(Code)



getDeferredContent
final public List<CharSequence> getDeferredContent() throws TemplateException(Code)



getEncoder
final public TemplateEncoder getEncoder()(Code)



getExpressionVars
public Map<String, Object> getExpressionVars()(Code)



getFilteredBlocks
abstract public List<String[]> getFilteredBlocks(String filter)(Code)



getFilteredValues
abstract public List<String[]> getFilteredValues(String filter)(Code)



getLanguage
public String getLanguage()(Code)



getModificationTime
abstract public long getModificationTime()(Code)



getResourceBundles
final public Collection<ResourceBundle> getResourceBundles()(Code)



getUnsetValueIds
abstract public Collection<String> getUnsetValueIds()(Code)



getValue
final public String getValue(String id) throws TemplateException(Code)



hasBlock
final public boolean hasBlock(String id)(Code)



hasDefaultValue
public boolean hasDefaultValue(String id)(Code)



hasFilteredBlocks
abstract public boolean hasFilteredBlocks(String filter)(Code)



hasFilteredValues
abstract public boolean hasFilteredValues(String filter)(Code)



hasResourceBundles
final public boolean hasResourceBundles()(Code)



hasValueId
abstract public boolean hasValueId(String id)(Code)



increasePartsCapacityInternal
protected void increasePartsCapacityInternal(InternalValue value, int size)(Code)



increaseValuesCapacityInternal
protected void increaseValuesCapacityInternal(InternalValue value, int size)(Code)



initialize
final void initialize() throws TemplateException(Code)



isTemplateClassModified
protected static boolean isTemplateClassModified(URL templateResource, long templateModificationTime, Map templateDependencies, String templateModificationState, ResourceFinder resourceFinder, String modificationState)(Code)



isValueSet
final public boolean isValueSet(String id)(Code)



removeBean
public void removeBean(Object bean) throws TemplateException(Code)



removeBean
public void removeBean(Object bean, String prefix) throws TemplateException(Code)



removeValue
final public void removeValue(String id)(Code)



removeValues
final public void removeValues(List<String> ids)(Code)



setBean
public void setBean(Object bean) throws TemplateException(Code)



setBean
public void setBean(Object bean, String prefix) throws TemplateException(Code)



setBean
public void setBean(Object bean, String prefix, boolean encode) throws TemplateException(Code)



setBeanHandler
final void setBeanHandler(BeanHandler beanHandler)(Code)



setBlock
final public void setBlock(String valueId, String blockId) throws TemplateException(Code)



setDefaultContentType
public void setDefaultContentType(String defaultContentType)(Code)



setDefaultResourceBundles
void setDefaultResourceBundles(ArrayList<ResourceBundle> bundles)(Code)



setEncoder
final void setEncoder(TemplateEncoder encoder)(Code)



setExpressionVar
public void setExpressionVar(String name, Object value)(Code)



setExpressionVars
public void setExpressionVars(Map<String, Object> map)(Code)



setInitializer
final void setInitializer(TemplateInitializer initializer)(Code)



setLanguage
public void setLanguage(String lang)(Code)



setValue
final public void setValue(String id, List<CharSequence> deferredContent) throws TemplateException(Code)



setValue
final public void setValue(String id, InternalValue internalValue) throws TemplateException(Code)



setValue
final public void setValue(String id, Template template) throws TemplateException(Code)



setValue
final public void setValue(String id, Object value) throws TemplateException(Code)



setValue
final public void setValue(String id, boolean value) throws TemplateException(Code)



setValue
final public void setValue(String id, char value) throws TemplateException(Code)



setValue
final public void setValue(String id, char[] value) throws TemplateException(Code)



setValue
final public void setValue(String id, char[] value, int offset, int count) throws TemplateException(Code)



setValue
final public void setValue(String id, double value) throws TemplateException(Code)



setValue
final public void setValue(String id, float value) throws TemplateException(Code)



setValue
final public void setValue(String id, int value) throws TemplateException(Code)



setValue
final public void setValue(String id, long value) throws TemplateException(Code)



setValue
final public void setValue(String id, String value) throws TemplateException(Code)



setValue
final public void setValue(String id, CharSequence value) throws TemplateException(Code)



write
final public void write(OutputStream out) throws IOException, TemplateException(Code)



writeBlock
public void writeBlock(String id, OutputStream out) throws IOException, TemplateException(Code)



writeBlock
public void writeBlock(String id, OutputStream out, String charsetName) throws IOException, TemplateException(Code)



writeContent
final public void writeContent(OutputStream out) throws IOException, TemplateException(Code)



writeContent
final public void writeContent(OutputStream out, String charsetName) throws IOException, TemplateException(Code)



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.