StringBvr Class

Creates an object that represents a string behavior. At any given time, the value of the behavior is a character string.

For more information about behaviors, see the Behavior class.

For relevant methods from the Statics class, see Statics Methods Relevant to StringBvr Objects.

StringBvr Methods

extract Extracts the value of the behavior, returning a Java object.
newUninitBvr Enables you to refer to an StringBvr behavior before that behavior has been defined.

extract

StringBvr Class

Extracts the value of the behavior, returning a Java object. This behavior must have a constant value.

Syntax

public Object extract( );

Return Value

Returns a Java object. For more information about java.lang.Object objects, consult a Java reference.

newUninitBvr

StringBvr Class

Enables you to refer to an StringBvr behavior before that behavior has been defined. With this method you can create the behavior and use it in the definition of other behaviors, but not actually define its contents until some later point. (This is accomplished with the init method, which is available on all behaviors.) The system generates a run-time error if you initialize a non-uninitialized behavior, initialize an uninitialized behavior that has already been initialized, or run an initialized behavior that has not yet been initialized.

Syntax

public static StringBvr newUninitBvr( );

Return Value

Returns the StringBvr object.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.