beautypg.com

Getoutputtextvalues, Setinputvalue -- value of field, Setinputvalue -- value of one occurrence of field – HP NonStop G-Series User Manual

Page 218

background image

Throws NoSuchFieldError

getOutputTextValues

The getOutputTextValues() method gets all the occurrences of a field in the output buffer as
String.

String[] getOutputTextValues(String fieldName)

fieldName

The name of the field.

Returns The occurrences of the field as a String.

Usage Gets all the occurrences of a field in the output buffer as String.

Throws NoSuchFieldError

setInputValue -- value of field

The setInputValue() method sets the value of a field in the input buffer using the field's native
type.

void setInputValue(String fieldName, Object value)

fieldName

The name of the field.

value

Value to be set.

Usage Sets the value of a field in the input buffer using the field's native type.

Throws NoSuchFieldError, ClassCastException

setInputValue -- value of one occurrence of field

The setInputValue() method sets the value of one occurrence of a field in the input buffer using
the field's native type.

void setInputValue(String fieldName, int index, Object value)

fieldName

The name of the field.

index

Index of the field.