Package | Description |
---|---|
com.ibm.as400.data |
Provides classes to simplify calling IBM i programs (RPG, COBOL, C, etc) from Java.
|
com.ibm.as400.resource |
Deprecated Provides classes that represent IBM i resources using a
generic list-based scheme.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
ProgramCallDocument.callProgram(String name) |
Calls the named program.
|
static void |
ProgramCallDocument.condenseXPCML(InputStream fullStream,
OutputStream xsdStream,
OutputStream condensedStream,
String xsdStreamName) |
Transforms a fully specified XPCML stream to a more condensed XPCML stream
and an XSD stream representing the new type definitions created while condensing.
|
static Descriptor |
ProgramCallDocument.getDescriptor(String docName) |
Returns a Descriptor for the specified PCML document.
|
static Descriptor |
ProgramCallDocument.getDescriptor(String docName,
InputStream xsdStream) |
Returns a Descriptor for the specified XPCML document.
|
static Descriptor |
ProgramCallDocument.getDescriptor(String docName,
ClassLoader loader) |
Returns a Descriptor for the specified PCML document.
|
static Descriptor |
ProgramCallDocument.getDescriptor(String docName,
ClassLoader loader,
InputStream xsdStream) |
Returns a Descriptor for the specified XPCML document.
|
int |
ProgramCallDocument.getErrno(String name) |
Returns an "errno" value for the named service program element.
|
int |
ProgramCallDocument.getIntReturnValue(String name) |
Returns an int return value for the named service program element.
|
int |
ProgramCallDocument.getIntValue(String name) |
Returns an int value for the named element.
|
int |
ProgramCallDocument.getIntValue(String name,
int[] indices) |
Returns an int value for the named element given indices to the data element.
|
AS400Message[] |
ProgramCallDocument.getMessageList(String name) |
Returns the list of IBM i system messages returned from running the
program.
|
int |
ProgramCallDocument.getOutputsize(String name) |
Returns the number of bytes reserved for output for the named element.
|
int |
ProgramCallDocument.getOutputsize(String name,
int[] indices) |
Returns the number of bytes reserved for output for the named element and indices.
|
String |
ProgramCallDocument.getStringValue(String name) |
Returns a String value for the named element.
|
String |
ProgramCallDocument.getStringValue(String name,
int type) |
Returns a String value for the named element.
|
String |
ProgramCallDocument.getStringValue(String name,
int[] indices) |
Returns a String value for the named element given indices to the data element.
|
String |
ProgramCallDocument.getStringValue(String name,
int[] indices,
int type) |
Returns a String value for the named element given indices to the data element.
|
boolean |
ProgramCallDocument.getThreadsafeOverride(String program) |
Gets the value of the override of the threadsafe attribute of a program element.
|
Object |
ProgramCallDocument.getValue(String name) |
Returns the Java object value for the named element.
|
Object |
ProgramCallDocument.getValue(String name,
int[] indices) |
Returns the Java object value for the named element given indices to the data element.
|
void |
ProgramCallDocument.serialize() |
Deprecated.
Use
serialize(File) instead. |
void |
ProgramCallDocument.serialize(OutputStream outputStream) |
Serializes the ProgramCallDocument to a stream.
|
void |
ProgramCallDocument.setCharArrayValue(String name,
char[] value) |
|
void |
ProgramCallDocument.setCharArrayValue(String name,
char[] value,
int type) |
|
void |
ProgramCallDocument.setCharArrayValue(String name,
int[] indices,
char[] value,
int type) |
|
void |
ProgramCallDocument.setDocument(String docName) |
Sets the PCML or XPCML document resource.
|
void |
ProgramCallDocument.setDocument(String docName,
InputStream xsdStream) |
Sets the XPCML document resource.
|
void |
ProgramCallDocument.setDocument(String docName,
ClassLoader loader) |
Sets the PCML or XPCML document resource.
|
void |
ProgramCallDocument.setDocument(String docName,
ClassLoader loader,
InputStream xsdStream) |
Sets the PCML or XPCML document resource.
|
void |
ProgramCallDocument.setIntValue(String name,
int value) |
Sets the Java object value for the named element using a int input.
|
void |
ProgramCallDocument.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 |
ProgramCallDocument.setPath(String program,
String path) |
Allows for dynamically specifying the program path of the program to be called.
|
void |
ProgramCallDocument.setStringValue(String name,
int[] indices,
String value,
int type) |
Sets the Java object value for the named element using a String input value
given indices to the data element.
|
void |
ProgramCallDocument.setStringValue(String name,
String value) |
Sets the Java object value for the named element using a String input.
|
void |
ProgramCallDocument.setStringValue(String name,
String value,
int type) |
Sets the Java object value for the named element using a String input.
|
void |
ProgramCallDocument.setThreadsafeOverride(String program,
boolean threadsafe) |
Allows the overriding of the threadsafe attribute of a program element.
|
void |
ProgramCallDocument.setValue(String name,
int[] indices,
Object value) |
Sets the Java object value for the named element
given indices to the data element.
|
void |
ProgramCallDocument.setValue(String name,
Object value) |
Sets the Java object value for the named element.
|
static void |
ProgramCallDocument.transformPCMLToXPCML(InputStream pcmlStream,
OutputStream xpcmlStream) |
Transforms a PCML stream to its equivalent XPCML stream.
|
Constructor | Description |
---|---|
ProgramCallDocument() |
Constructs a ProgramCallDocument object.
|
ProgramCallDocument(AS400 sys,
String docName) |
Constructs a ProgramCallDocument object.
|
ProgramCallDocument(AS400 sys,
String docName,
InputStream xsdStream) |
Constructs a ProgramCallDocument object.
|
ProgramCallDocument(AS400 sys,
String docName,
InputStream docStream,
ClassLoader loader,
InputStream xsdStream,
int type) |
Constructs a ProgramCallDocument object.
|
ProgramCallDocument(AS400 sys,
String docName,
ClassLoader loader) |
Constructs a ProgramCallDocument object.
|
ProgramCallDocument(AS400 sys,
String docName,
ClassLoader loader,
InputStream xsdStream) |
Constructs a ProgramCallDocument object.
|
ProgramCallDocument(String docName) |
Constructs a ProgramCallDocument object.
|
Modifier and Type | Method | Description |
---|---|---|
Object[] |
ProgramMap.getValues(Object[] ids,
AS400 system,
ProgramCallDocument document,
String programName,
int[] indices) |
Deprecated.
Get a set of values from the PCML document and map them to
the appropriate logical values.
|
Copyright © 2024. All rights reserved.