Logo Search packages:      
Sourcecode: jodreports version File versions  Download package

Classes | Public Member Functions | Static Protected Member Functions | Static Protected Attributes | Static Package Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

net::sf::jooreports::templates::xmlfilters::ScriptTagFilter Class Reference

Inheritance diagram for net::sf::jooreports::templates::xmlfilters::ScriptTagFilter:
Inheritance graph
[legend]
Collaboration diagram for net::sf::jooreports::templates::xmlfilters::ScriptTagFilter:
Collaboration graph
[legend]

List of all members.

Classes

class  ScriptPart

Public Member Functions

void doFilter (Document document) throws DocumentTemplateException

Static Protected Member Functions

static Node newNode (String script)

Static Protected Attributes

static final String DRAW_NAMESPACE = "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
static final String SCRIPT_NAMESPACE = "urn:oasis:names:tc:opendocument:xmlns:script:1.0"
static final String TABLE_NAMESPACE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0"
static final String TEXT_NAMESPACE = "urn:oasis:names:tc:opendocument:xmlns:text:1.0"
static final String XLINK_NAMESPACE = "http://www.w3.org/1999/xlink"
static final XPathContext XPATH_CONTEXT = new XPathContext()

Static Package Functions

 [static initializer]

Private Member Functions

Elements parseScriptText (String scriptText) throws DocumentTemplateException

Static Private Member Functions

static String addScriptDirectives (Element scriptElement) throws IOException, DocumentTemplateException
static Element findEnclosingElement (Element element, String enclosingTagName) throws DocumentTemplateException
static List parseScriptParts (String scriptText) throws IOException, DocumentTemplateException

Private Attributes

final Map tags

Static Private Attributes

static final Log log = LogFactory.getLog(ScriptTagFilter.class)

Detailed Description

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.

Definition at line 50 of file ScriptTagFilter.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index