|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.as400.resource.ProgramAttributeGetter
public class ProgramAttributeGetter extends Object implements Serializable
The ProgramAttributeGetter class gets attribute values by calling a program on the system. The program call is specified using Program Call Markup Language (PCML).
This class uses a ProgramMap
object to define how attribute values are
specified in the PCML definition. This class is intended as a helper
class for implementing subclasses of Resource.
| Constructor and Description |
|---|
ProgramAttributeGetter(AS400 system,
ProgramCallDocument document,
ProgramMap attributeMap)
Deprecated. Constructs a ProgramAttributeGetter object. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBuffer()
Deprecated. Clears any buffered attribute values. |
Object |
getValue(Object attributeID)
Deprecated. Returns an attribute value. |
Object |
getValue(Object attributeID,
int bidiStringType)
Deprecated. Returns an attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgramAttributeGetter(AS400 system,
ProgramCallDocument document,
ProgramMap attributeMap)
system - The system.document - The PCML document.attributeMap - The attribute map.| Method Detail |
|---|
public void clearBuffer()
public Object getValue(Object attributeID)
throws ResourceException
attributeID - The attribute ID.ResourceException - If an error occurs.
public Object getValue(Object attributeID,
int bidiStringType)
throws ResourceException
attributeID - The attribute ID.bidiStringType - The bidi string type as defined by the CDRA (Character Data
Representataion Architecture). See
BidiStringType
for more information and valid values.ResourceException - If an error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||