net.sf.jooreports.templates.xmlfilters
Class ScriptTagFilter

java.lang.Object
  extended by net.sf.jooreports.templates.xmlfilters.XmlEntryFilter
      extended by 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, TABLE_NAMESPACE, TEXT_NAMESPACE, XLINK_NAMESPACE, XPATH_CONTEXT
 
Constructor Summary
ScriptTagFilter()
           
 
Method Summary
 void doFilter(nu.xom.Document document)
           
 
Methods inherited from class net.sf.jooreports.templates.xmlfilters.XmlEntryFilter
newNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptTagFilter

public ScriptTagFilter()
Method Detail

doFilter

public void doFilter(nu.xom.Document document)
              throws DocumentTemplateException
Specified by:
doFilter in class XmlEntryFilter
Throws:
DocumentTemplateException