org.jopendocument.dom.template
Class EngineTemplate
java.lang.Object
org.jopendocument.dom.template.EngineTemplate
- Direct Known Subclasses:
- JavaScriptFileTemplate, RhinoTemplate
public class EngineTemplate
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EngineTemplate
public EngineTemplate(File f,
DataModel engine)
throws IOException,
TemplateException,
org.jdom.JDOMException
- Throws:
IOException
TemplateException
org.jdom.JDOMException
EngineTemplate
public EngineTemplate(InputStream i,
DataModel engine)
throws IOException,
TemplateException,
org.jdom.JDOMException
- Throws:
IOException
TemplateException
org.jdom.JDOMException
showParagraph
public final void showParagraph(String name)
hideParagraph
public final void hideParagraph(String name)
showTable
public final void showTable(String name)
hideTable
public final void hideTable(String name)
showTableRow
public final void showTableRow(String name)
hideTableRow
public final void hideTableRow(String name)
showSection
public final void showSection(String name)
hideSection
public final void hideSection(String name)
showListItem
public final void showListItem(String name)
hideListItem
public final void hideListItem(String name)
setField
public void setField(String key,
Object value)
createDocument
public ODSingleXMLDocument createDocument()
throws TemplateException
- Throws:
TemplateException
saveAs
public File saveAs(File outFile)
throws IOException,
TemplateException
- Throws:
IOException
TemplateException
Copyright © 2010 jOpenDocument All Rights Reserved.