75 lines
4.0 KiB
HTML
75 lines
4.0 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="ReportWriter classes" />
|
|
<meta name="abstract" content="" />
|
|
<meta name="description" content="" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="reportwriter" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>ReportWriter classes</title>
|
|
</head>
|
|
<body id="reportwriter"><a name="reportwriter"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">ReportWriter classes</h1>
|
|
<div><p></p>
|
|
<div class="section"><p>The com.ibm.as400.util.reportwriter package provides classes that
|
|
enable you to use your iSeries™ to more easily access and format data from
|
|
an XML source file or data produced by servlets or JavaServer Pages<sup>(TM)</sup>.
|
|
The reportwriter package is a convenient way to name three different but
|
|
related packages: </p>
|
|
</div>
|
|
<div class="section"><ul><li>com.ibm.as400.util.reportwriter.pclwriter</li>
|
|
<li>com.ibm.as400.util.reportwriter.pdfwriter</li>
|
|
<li><a href="javadoc/com/ibm/as400/util/reportwriter/processor/package-summary.html">com.ibm.as400.util.reportwriter.processor</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><div class="p">These packages include a variety of classes that allow
|
|
you to format XML data streams and generate reports in those formats. Make
|
|
sure you have the necessary jar files in your CLASSPATH, including an XML
|
|
parser and an XSLT processor. For more information, see the following pages:<blockquote><p><a href="jarfilelist.htm#jarfilelist__reportwriternote">Jar files</a></p>
|
|
<p><a href="rzahhxmlparserxslprocessor.htm">XML parser and XSLT processor</a></p>
|
|
</blockquote>
|
|
. </div>
|
|
</div>
|
|
<div class="section"><p><a href="context.htm#context">Context classes</a> (in the
|
|
pclwriter and pdfwriter packages) define methods that the ReportProcessor
|
|
classes need to render XML and JSP data in the chosen format: </p>
|
|
</div>
|
|
<div class="section"><ul><li> Use PCLContext in combination with a ReportWriter class to generate a
|
|
report in the Hewlett Packard Printer Control Language (PCL) format.</li>
|
|
<li> Use PDFContext in combination with a ReportWriter class to generate a
|
|
report in the Adobe Portable Document Format (PDF).</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>ReportProcessor classes (in the processor package) enable you
|
|
to generate formatted reports from information your application gathers from
|
|
XML source data, Java™ servlets, and JavaServer Pages (JSPs). </p>
|
|
</div>
|
|
<div class="section"><ul><li> Use the <a href="jspreportprocessor.htm#jspreportprocessor">JSPReportProcessor
|
|
class</a> to retrieve data from servlets and JSP pages to produce reports
|
|
in the available formats (contexts).</li>
|
|
<li> Use the <a href="xslreportprocessor.htm#xslreportprocessor">XSLReportProcessor
|
|
class</a> to process your XML data with XSL stylesheets to produce reports
|
|
in the available formats (contexts).</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |