| java.lang.Object net.sf.jasperreports.engine.xml.JRXmlBaseWriter net.sf.jasperreports.engine.xml.JRXmlTemplateWriter
JRXmlTemplateWriter | public class JRXmlTemplateWriter extends JRXmlBaseWriter (Code) | | JRTemplate Template XML serializer.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: JRXmlTemplateWriter.java 1763 2007-06-21 08:47:21Z lucianc $ See Also: JRXmlTemplateLoader |
DEFAULT_ENCODING | final public static String DEFAULT_ENCODING(Code) | | Default XML output encoding.
|
JRXmlTemplateWriter | public JRXmlTemplateWriter(JRTemplate template, Writer out, String encoding)(Code) | | Creates an XML template writer.
Parameters: template - the template to write Parameters: out - the ouput writer Parameters: encoding - the XML encoding to use |
toWriteConditionalStyles | protected boolean toWriteConditionalStyles()(Code) | | |
writeIncludedTemplates | protected void writeIncludedTemplates() throws IOException(Code) | | |
writeTemplate | public static String writeTemplate(JRTemplate template, String encoding)(Code) | | Returns the XML representation of a template.
Parameters: template - the template Parameters: encoding - the XML encoding to use the XML representation of the template |
writeTemplate | public static void writeTemplate(JRTemplate template, OutputStream out, String encoding)(Code) | | Writes the XML representation of a template to an output stream.
Parameters: template - the template Parameters: out - the output stream Parameters: encoding - the XML encoding to use |
writeTemplateToFile | public static void writeTemplateToFile(JRTemplate template, String outputFile)(Code) | | Writes the XML representation of a template to a file.
Uses
JRXmlTemplateWriter.DEFAULT_ENCODING the default encoding .
Parameters: template - the template Parameters: outputFile - the output file name |
writeTemplateToFile | public static void writeTemplateToFile(JRTemplate template, String outputFile, String encoding)(Code) | | Writes the XML representation of a template to a file.
Parameters: template - the template Parameters: outputFile - the output file name Parameters: encoding - the XML encoding to use |
|
|