ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rfmlrecformdoc.htm

79 lines
5.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="RecordFormatDocument class" />
<meta name="abstract" content="The RecordFormatDocument class enables your Java programs to convert between RFML representations of data and Record and RecordFormat objects for use with other IBM Toolbox for Java components." />
<meta name="description" content="The RecordFormatDocument class enables your Java programs to convert between RFML representations of data and Record and RecordFormat objects for use with other IBM Toolbox for Java components." />
<meta name="DC.Relation" scheme="URI" content="rfmlmain.htm" />
<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="rfmlrecformdoc" />
<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>RecordFormatDocument class</title>
</head>
<body id="rfmlrecformdoc"><a name="rfmlrecformdoc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">RecordFormatDocument class</h1>
<div><p>The RecordFormatDocument class enables your Java™ programs
to convert between RFML representations of data and Record and RecordFormat
objects for use with other IBM<sup>®</sup> Toolbox for Java components.</p>
<div class="section"><p><a href="javadoc/com/ibm/as400/data/RecordFormatDocument.html">RecordFormatDocument class</a> </p>
</div>
<div class="section"><p>The RecordFormatDocument class represents an RFML source file,
and it provides methods that allow your Java program to perform the following actions:</p>
</div>
<div class="section"><ul><li>Compose RFML source files from Record objects, RecordFormat objects, and
byte arrays</li>
<li>Generate Record objects, RecordFormat objects, and byte arrays that represent
the information that the RecordFormatDocument object contains</li>
<li>Get and set the values of different objects and data types</li>
<li>Generate XML (RFML) that represents the data that the RecordFormatDocument
object contains</li>
<li>Serialize the RFML source file that the RecordFormatDocument object represents</li>
</ul>
</div>
<div class="section"><p>For more information about the available methods, see the javadoc <a href="javadoc/com/ibm/as400/data/RecordFormatDocument.html#METHOD_SUMMARY">method summary</a> for the RecordFormatDocument class.</p>
</div>
<div class="section"><p><strong>Using the RecordFormatDocument class with other IBM Toolbox for Java classes</strong></p>
</div>
<div class="section"><p>Use the RecordFormatDocument class with the following IBM Toolbox for Java classes:</p>
</div>
<div class="section"><ul><li>Record-oriented classes, which include the record-level access file classes
(AS400File, SequentialFile, and KeyedFile) that read, manipulate, and write
Record objects. This category also includes the LineDataRecordWriter class.</li>
<li>Byte-oriented classes, which include certain DataQueue, UserSpace, and
IFSFile classes that read and write a byte-array of data at a time.</li>
</ul>
</div>
<div class="section"><p>Do not use RecordFormatDocument class with the following IBM Toolbox for Java classes,
which read and write data in forms that RecordFormatDocument does not handle:</p>
</div>
<div class="section"><ul><li>The DataArea classes because the read and write methods deal only with
String, boolean, and BigDecimal data types.</li>
<li>IFSTextFileInputStream and IFSTextFileOutputStream because these read
and write methods deal only with String.</li>
<li>JDBC classes because RFML focuses only on data described by the iSeries™ <a href="rfmlmain.htm#rfmlmain__dds">data description specification (DDS)</a>. </li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rfmlmain.htm" title="The Record Format Markup Language (RFML) is an XML extension for specifying record formats.">Record Format Markup Language</a></div>
</div>
</div>
</body>
</html>