org.jopendocument.dom.template.engine
Class Parsed<E>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.