org.jopendocument.dom.template.engine
Class Parsed<E>

java.lang.Object
  extended by org.jopendocument.dom.template.engine.Parsed<E>
Type Parameters:
E - type of the material this parser works on.

public class Parsed<E>
extends Object

Parse material, which can then be executed with execute(DataModel) .

Author:
Sylvain

Constructor Summary
Parsed(Material<E> src)
           
Parsed(Material<E> src, Parsed<?> p)
          Parse src using the same settings as p.
Parsed(Material<E> src, Set<Statement> statements)
           
 
Method Summary
 E execute(DataModel data)
           
 Material<E> getSource()
           
 Statement getStatement(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parsed

public Parsed(Material<E> src)
       throws TemplateException
Throws:
TemplateException

Parsed

public Parsed(Material<E> src,
              Parsed<?> p)
       throws TemplateException
Parse src using the same settings as p.

Parameters:
src - the material to parse.
p - settings.
Throws:
TemplateException - if an error occurs.

Parsed

public Parsed(Material<E> src,
              Set<Statement> statements)
       throws TemplateException
Throws:
TemplateException
Method Detail

getSource

public Material<E> getSource()

getStatement

public Statement getStatement(String name)

execute

public E execute(DataModel data)
          throws TemplateException
Throws:
TemplateException


Copyright © 2010 jOpenDocument All Rights Reserved.