org.jopendocument.dom.template
Class JavaScriptTemplate

java.lang.Object
  extended by org.jopendocument.dom.template.EngineTemplate
      extended by org.jopendocument.dom.template.JavaScriptTemplate

public class JavaScriptTemplate
extends EngineTemplate

A template using the bundled javascript engine in J2SE 6.

Author:
Sylvain
See Also:
RhinoTemplate

Constructor Summary
JavaScriptTemplate(File f)
           
JavaScriptTemplate(InputStream s)
           
JavaScriptTemplate(String fileName)
           
 
Method Summary
 
Methods inherited from class org.jopendocument.dom.template.EngineTemplate
createDocument, hideListItem, hideParagraph, hideSection, hideTable, hideTableRow, saveAs, setField, showListItem, showParagraph, showSection, showTable, showTableRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptTemplate

public JavaScriptTemplate(String fileName)
                   throws IOException,
                          TemplateException,
                          org.jdom.JDOMException
Throws:
IOException
TemplateException
org.jdom.JDOMException

JavaScriptTemplate

public JavaScriptTemplate(File f)
                   throws IOException,
                          TemplateException,
                          org.jdom.JDOMException
Throws:
IOException
TemplateException
org.jdom.JDOMException

JavaScriptTemplate

public JavaScriptTemplate(InputStream s)
                   throws IOException,
                          TemplateException,
                          org.jdom.JDOMException
Throws:
IOException
TemplateException
org.jdom.JDOMException


Copyright © 2010 jOpenDocument All Rights Reserved.