beautypg.com

Getoutputvalues, Getoutputtextvalue -- value of field – HP NonStop G-Series User Manual

Page 217

background image

getOutputValues

The getOutputValues() method gets all of the occurrences of a field in the output buffer using
field's native type.

Object[] getOutputValues(String fieldName)

fieldName

The name of the field.

Returns The occurrences of the field.

Usage Gets all of the occurrences of a field in the output buffer using field's native type.

Throws NoSuchFieldError

getOutputTextValue -- value of field

The getOutputTextValue() method gets the value of a field in the output buffer as a String.

String getOutputTextValue(String fieldName)

fieldName

The name of the field.

Returns The value of the field as a String.

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

Throws NoSuchFieldError

getOutputTextValue -- value of one occurrence of field

The getOutputTextValue() method gets the value of one occurrence of a field in the output
buffer as a String.

String getOutputTextValue(String fieldName, int index)

fieldName

The name of the field.

index

Index of the field.

Returns The value of the field as a String.

Usage Gets the value of one occurrence of a field in the output buffer as a String.