Java Doc for DefaultAnalyser.java in  » Template-Engine » JDynamiTe » cb » jdynamite » analyser » 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 » JDynamiTe » cb.jdynamite.analyser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   cb.jdynamite.analyser.DefaultAnalyser

DefaultAnalyser
public class DefaultAnalyser implements ITemplateAnalyser(Code)
This class analyses the input template document and builds the JDynamiTe document structure, which is made up of "ITemplateElements".
A JDynamiTe document is structurally a tree where the nodes are "DynamicElement" objects, and where the leaves are the other objects.
An analyser is attached to an "ITemplateDocument" (JDynamiTe object), which is the "root" Dynamic Element of the tree.
See Also:   cb.jdynamite.JDynamiTe


Field Summary
public static  StringHTML_BEGIN_DYNAMIC_TAG
     HTML default "Begin Dynamic Element" tag.
public static  StringHTML_BEGIN_IGNORED_TAG
     HTML default "Begin Ignored Element" tag.
public static  StringHTML_END_DYNAMIC_TAG
     HTML default "End Dynamic Element" tag.
public static  StringHTML_END_IGNORED_TAG
     HTML default "End Ignored Element" tag.
public static  StringHTML_VARIABLE_TAG
     HTML default "Variable" tag.
public static  StringSCRIPT_BEGIN_DYNAMIC_TAG
    
public static  StringSCRIPT_END_DYNAMIC_TAG
    
public static  StringSCRIPT_VARIABLE_TAG
    
public static  StringXML_BEGIN_DYNAMIC_TAG
    
public static  StringXML_END_DYNAMIC_TAG
    
public static  StringXML_VARIABLE_TAG
    


Method Summary
public  voidDefaultAnalyser()
    
public  voidanalyse(ITemplateDocument rootDocument, IDynamicElement rootElem, BufferedReader inputText)
    
protected  voiddoAnalyse(IDynamicElement dynElem, int depth)
    
public  booleangetDebug()
    
public  REgetDynamicBeginRegExp()
    
public  REgetDynamicEndRegExp()
    
public  REgetIgnoredBeginRegExp()
    
public  REgetIgnoredEndRegExp()
    
public  REgetVariableRegExp()
    
public  voidsetDebug(boolean debugMode)
    
public  voidsetDynamicBeginRegExp(String dynamicBeginRegExp)
    
public  voidsetDynamicEndRegExp(String dynamicEndRegExp)
    
public  voidsetIgnoredBeginRegExp(String ignoredBeginRegExp)
    
public  voidsetIgnoredEndRegExp(String ignoredEndRegExp)
    
public  voidsetVariableRegExp(String variableRegExp)
    

Field Detail
HTML_BEGIN_DYNAMIC_TAG
public static String HTML_BEGIN_DYNAMIC_TAG(Code)
HTML default "Begin Dynamic Element" tag. This regular expression is :
 "<!-- *BEGIN *DYNAMIC.*: *([\w._:-]+) *-->".
 
For example:
 "<-- BEGIN DYNAMIC : myList -->".
 
or
 "<-- BEGIN DYNAMIC BLOCK: myList -->".
 
Important: the element name is this word wich matches the first "regexp" subexpression. That's why this word should be enclosed within brackets.
See GNU regexp package documentation.



HTML_BEGIN_IGNORED_TAG
public static String HTML_BEGIN_IGNORED_TAG(Code)
HTML default "Begin Ignored Element" tag. This regular expression is :
 "<!-- *BEGIN *IGNORED.*: *([\w._:-]+) *-->".
 
For example:
 "<-- BEGIN IGNORED : myLinesExample -->".
 
See GNU regexp package documentation.
since:
   JDynamiTe 1.1



HTML_END_DYNAMIC_TAG
public static String HTML_END_DYNAMIC_TAG(Code)
HTML default "End Dynamic Element" tag. This regular expression is :
 "<-- *END *DYNAMIC.*-->".
 
For example:
 "<-- END DYNAMIC : myList -->".
 
or
 "<-- END DYNAMIC BLOCK: myList -->".
 
See GNU regexp package documentation.



HTML_END_IGNORED_TAG
public static String HTML_END_IGNORED_TAG(Code)
HTML default "End Ignored Element" tag. This regular expression is :
 "<-- *END *IGNORED.*-->".
 
For example:
 "<-- END IGNORED : myList -->".
 
See GNU regexp package documentation.
since:
   JDynamiTe 1.1



HTML_VARIABLE_TAG
public static String HTML_VARIABLE_TAG(Code)
HTML default "Variable" tag. This is the regular expression for a word (within brackets) made up of alplanumeric (and '.', '_', ':', '-') character(s). Examples : "Table2.name" or "page-title".
"[\w._:-]+" is the regular expression for a word made up of alplanumeric (and '.', '_', ':', '-') character(s).
Important: the variable name (the key) is this word wich matches the first "regexp" subexpression. That's why this word should be enclosed within brackets.
See GNU regexp package documentation for more details on regular expressions.



SCRIPT_BEGIN_DYNAMIC_TAG
public static String SCRIPT_BEGIN_DYNAMIC_TAG(Code)



SCRIPT_END_DYNAMIC_TAG
public static String SCRIPT_END_DYNAMIC_TAG(Code)



SCRIPT_VARIABLE_TAG
public static String SCRIPT_VARIABLE_TAG(Code)



XML_BEGIN_DYNAMIC_TAG
public static String XML_BEGIN_DYNAMIC_TAG(Code)



XML_END_DYNAMIC_TAG
public static String XML_END_DYNAMIC_TAG(Code)



XML_VARIABLE_TAG
public static String XML_VARIABLE_TAG(Code)





Method Detail
DefaultAnalyser
public void DefaultAnalyser()(Code)



analyse
public void analyse(ITemplateDocument rootDocument, IDynamicElement rootElem, BufferedReader inputText) throws IOException(Code)



doAnalyse
protected void doAnalyse(IDynamicElement dynElem, int depth)(Code)



getDebug
public boolean getDebug()(Code)



getDynamicBeginRegExp
public RE getDynamicBeginRegExp()(Code)



getDynamicEndRegExp
public RE getDynamicEndRegExp()(Code)



getIgnoredBeginRegExp
public RE getIgnoredBeginRegExp()(Code)



getIgnoredEndRegExp
public RE getIgnoredEndRegExp()(Code)



getVariableRegExp
public RE getVariableRegExp()(Code)



setDebug
public void setDebug(boolean debugMode)(Code)



setDynamicBeginRegExp
public void setDynamicBeginRegExp(String dynamicBeginRegExp) throws REException(Code)



setDynamicEndRegExp
public void setDynamicEndRegExp(String dynamicEndRegExp) throws REException(Code)



setIgnoredBeginRegExp
public void setIgnoredBeginRegExp(String ignoredBeginRegExp) throws REException(Code)



setIgnoredEndRegExp
public void setIgnoredEndRegExp(String ignoredEndRegExp) throws REException(Code)



setVariableRegExp
public void setVariableRegExp(String variableRegExp) throws REException(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.