groovy.text
Class XmlTemplateEngine
java.lang.Object
groovy.text.TemplateEngine
groovy.text.XmlTemplateEngine
public class XmlTemplateEngine
- extends TemplateEngine
Template engine for xml data input.
- Author:
- Christian Stein
DEFAULT_INDENTION
public static final String DEFAULT_INDENTION
- See Also:
- Constant Field Values
XmlTemplateEngine
public XmlTemplateEngine()
throws SAXException,
ParserConfigurationException
- Throws:
SAXException
ParserConfigurationException
XmlTemplateEngine
public XmlTemplateEngine(String indention,
boolean validating)
throws SAXException,
ParserConfigurationException
- Throws:
SAXException
ParserConfigurationException
XmlTemplateEngine
public XmlTemplateEngine(XmlParser xmlParser,
GroovyShell groovyShell,
String indention)
createTemplate
public Template createTemplate(Reader reader)
throws CompilationFailedException,
ClassNotFoundException,
IOException
- Specified by:
createTemplate
in class TemplateEngine
- Throws:
CompilationFailedException
ClassNotFoundException
IOException
getIndention
public String getIndention()
setIndention
public void setIndention(String indention)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2009 The Codehaus. All Rights Reserved.