Package | Description |
---|---|
com.ibm.as400.data |
Provides classes to simplify calling IBM i programs (RPG, COBOL, C, etc) from Java.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PcmlException |
Thrown when an error is encountered using a ProgramCallDocument.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ProgramCallDocument.generateXPCML(OutputStream outputStream) |
Generates XPCML representing the data contained in the entire PCML node tree.
|
void |
ProgramCallDocument.generateXPCML(String fileName) |
Generates XPCML representing the data contained in the entire PCML node tree.
|
void |
ProgramCallDocument.generateXPCML(String pgmName,
OutputStream outputStream) |
Generates XPCML representing the data associated with the passed-in program name.
|
void |
ProgramCallDocument.generateXPCML(String pgmName,
String fileName) |
Generates XPCML representing the data contained for the passed in program name.
|
static Descriptor |
RecordFormatDocument.getDescriptor(String documentName) |
Returns a Descriptor for the specified RFML document.
|
static Descriptor |
RecordFormatDocument.getDescriptor(String documentName,
ClassLoader loader) |
Returns a Descriptor representing the specified RFML document.
|
double |
RecordFormatDocument.getDoubleValue(String name) |
Returns a
double value for the named element. |
double |
RecordFormatDocument.getDoubleValue(String name,
int[] indices) |
Returns a
double value for the named element given indices to the data element. |
int |
RecordFormatDocument.getIntValue(String name) |
Returns an
int value for the named element. |
int |
RecordFormatDocument.getIntValue(String name,
int[] indices) |
Returns an
int value for the named element given indices to the data element. |
String |
RecordFormatDocument.getStringValue(String name) |
Returns a
String value for the named <data type="char"> element. |
String |
RecordFormatDocument.getStringValue(String name,
int type) |
Returns a
String value for the named <data type="char"> element. |
String |
RecordFormatDocument.getStringValue(String name,
int[] indices,
int type) |
Returns a
String value for the named <data type="char"> element, given indices to the data element. |
Object |
RecordFormatDocument.getValue(String name) |
Returns the Java object value for the named element.
|
Object |
RecordFormatDocument.getValue(String name,
int[] indices) |
Returns the Java object value for the named element given indices to the data element.
|
void |
ProgramCallDocument.serialize(File file) |
Serializes the ProgramCallDocument to a file.
|
void |
RecordFormatDocument.serialize(File file) |
Serializes the RecordFormatDocument.
|
void |
RecordFormatDocument.serialize(OutputStream outputStream) |
Serializes the RecordFormatDocument.
|
void |
RecordFormatDocument.serialize(String fileName) |
Serializes the RecordFormatDocument.
|
void |
RecordFormatDocument.setDocument(String documentName) |
Sets the RFML document resource.
|
void |
RecordFormatDocument.setDocument(String documentName,
ClassLoader loader) |
Sets the RFML document resource.
|
void |
RecordFormatDocument.setIntValue(String name,
int value) |
Sets the Java object value for the named element using an int input value.
|
void |
RecordFormatDocument.setIntValue(String name,
int[] indices,
int value) |
Sets the Java object value for the named element using an int input value
given indices to the data element.
|
void |
RecordFormatDocument.setStringValue(String name,
int[] indices,
String value,
int type) |
Sets the Java object value for the named <data type="char"> element using a String input value, given indices to the data element.
|
void |
RecordFormatDocument.setStringValue(String name,
String value) |
Sets the Java object value for the named <data type="char"> element using a String input.
|
void |
RecordFormatDocument.setStringValue(String name,
String value,
int type) |
Sets the Java object value for the named <data type="char"> element using a String input.
|
void |
RecordFormatDocument.setValue(String name,
int[] indices,
Object value) |
Sets the Java object value for the named element
given indices to the data element.
|
void |
RecordFormatDocument.setValue(String name,
Object value) |
Sets the Java object value for the named element.
|
void |
RecordFormatDocument.setValues(String formatName,
byte[] values) |
Sets the data represented by the specified
<recordformat> element. |
void |
RecordFormatDocument.setValues(String formatName,
Record record) |
Sets the Java object values for the specified
<recordformat> element, based on the values stored in the record object passed into the method. |
byte[] |
RecordFormatDocument.toByteArray(String formatName) |
Returns the data contained by the specified
<recordformat> element, as a byte array. |
Record |
RecordFormatDocument.toRecord(String formatName) |
Returns a Record object with the same structure and data as the specified
<recordformat> element. |
RecordFormat |
RecordFormatDocument.toRecordFormat(String formatName) |
Returns a RecordFormat object with the same structure as the specified
<recordformat> element. |
void |
RecordFormatDocument.toXml(File file) |
Generates XML (RFML) representing the data contained in this object.
|
void |
RecordFormatDocument.toXml(OutputStream outputStream) |
Generates XML (RFML) representing the data contained in this object.
|
void |
RecordFormatDocument.toXml(String fileName) |
Generates XML (RFML) representing the data contained in this object.
|
Constructor | Description |
---|---|
ProgramCallDocument(String docName,
ClassLoader loader) |
Constructs a ProgramCallDocument object.
|
RecordFormatDocument(Record record) |
Constructs a RecordFormatDocument from a Record object.
|
RecordFormatDocument(RecordFormat recordFormat) |
Constructs a RecordFormatDocument from a RecordFormat object.
|
RecordFormatDocument(String documentName) |
Constructs a RecordFormatDocument.
|
RecordFormatDocument(String documentName,
ClassLoader loader) |
Constructs a RecordFormatDocument.
|
Copyright © 2024. All rights reserved.