Class ScriptTagFilter
- java.lang.Object
-
- net.sf.jooreports.templates.xmlfilters.XmlEntryFilter
-
- net.sf.jooreports.templates.xmlfilters.ScriptTagFilter
-
public class ScriptTagFilter extends XmlEntryFilter
OpenDocument XML entry filter that replaces script elements with FreeMarker directives.Scripts can contain FreeMarker directives to be placed at the location of the script itself, or at some enclosing tag. For example a script inside a table cell can contain a [#list items as item] directive to be inserted at the enclosing table row so that the entire row will be repeated for each item in the list.
-
-
Field Summary
-
Fields inherited from class net.sf.jooreports.templates.xmlfilters.XmlEntryFilter
DRAW_NAMESPACE, SCRIPT_NAMESPACE, STYLE_NAMESPACE, TABLE_NAMESPACE, TEXT_NAMESPACE, XLINK_NAMESPACE, XPATH_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description ScriptTagFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doFilter(nu.xom.Document document)
-
Methods inherited from class net.sf.jooreports.templates.xmlfilters.XmlEntryFilter
newNode
-
-
-
-
Method Detail
-
doFilter
public void doFilter(nu.xom.Document document) throws DocumentTemplateException
- Specified by:
doFilter
in classXmlEntryFilter
- Throws:
DocumentTemplateException
-
-