All Packages Class Hierarchy This Package Previous Next Index
Class bea.jolt.pool.servlet.ServletResult
java.lang.Object
|
+----java.util.Dictionary
|
+----java.util.Hashtable
|
+----bea.jolt.pool.DataSet
|
+----bea.jolt.pool.Result
|
+----bea.jolt.pool.servlet.ServletResult
- public class ServletResult
- extends Result
This class provides methods to retrieve each field in
a ServletResult object as a String.
- Author:
- Copyright (c) 1999 by BEA Systems, Inc. All Rights Reserved.
-
getStringValue(String, int, String)
- Gets the string value of a data element associated with a name and
an index.
-
getStringValue(String, String)
- Gets the string value of a data element associated with a name.
getStringValue
public String getStringValue(String name,
int index,
String defval)
- Gets the string value of a data element associated with a name and
an index.
For BEA TUXEDO char (byte), the data is converted to
a decimal numeric String. For BEA Tuxedo CARRAY (octets),
the data is converted to a String of hexadecimal digits.
- Parameters:
- name - Name of the data element
- index - Index of the data element, starting from zero
- defval - Default value to return if the data element does not exist
- Returns:
- String value of the data element or
the default value
- See Also:
- getValue, getValue
getStringValue
public String getStringValue(String name,
String defval)
- Gets the string value of a data element associated with a name.
This method is the same as calling
getStringValue(name, 0, value).
- Parameters:
- name - Name of the data element
- defval - Default value to return if the data element
does not exist
- Returns:
- String value of the data element or the default value
- See Also:
- getValue, getValue
All Packages Class Hierarchy This Package Previous Next Index