| 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 |
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) | | |
DefaultAnalyser | public void DefaultAnalyser()(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) | | |
|
|