borland Packages  Class Hierarchy  jbcl.model Package  Index 

ObjectFormatter component

java.lang.Object
   +----borland.jbcl.model.ItemFormatter
           +----borland.jbcl.model.VariantFormatter
                   +----borland.jbcl.model.ObjectFormatter

About the ObjectFormatter component

Constructors  Properties  Methods  

Implements Serializable

The ObjectFormatter class formats and parses data of type Object.


ObjectFormatter constructors

ObjectFormatter properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.jbcl.model.VariantFormatter

Properties implemented in java.lang.Object

ObjectFormatter methods

Methods implemented in this class

Methods implemented in borland.jbcl.model.VariantFormatter

Methods implemented in java.lang.Object


ObjectFormatter constructors

ObjectFormatter()

  public ObjectFormatter()
Creates an ObjectFormatter class.

ObjectFormatter properties

variantType

 public int getVariantType()
Returns the variant type, which is always Variant.OBJECT.

ObjectFormatter methods

format(borland.jbcl.util.Variant)

  public final String format(borland.jbcl.util.Variant value)
Returns a string representation of the Variant value specified as value.

Overrides: borland.jbcl.model.VariantFormatter.format(borland.jbcl.util.Variant)

parse(borland.jbcl.util.Variant, char[], int, int)

  public void parse(borland.jbcl.util.Variant variant, char[] value, int offset, int len)

Overrides: borland.jbcl.model.VariantFormatter.parse(borland.jbcl.util.Variant, char[], int, int)

parse(java.lang.String, borland.jbcl.util.Variant)

  public void parse(java.lang.String stringValue, borland.jbcl.util.Variant value)
Analyzes the given String and produces as output a Variant containing the approriate value.

Parameters:

stringValue
The string to be parsed.
value
The Variant that receives the parsed result.

Overrides: borland.jbcl.model.VariantFormatter.parse(java.lang.String, borland.jbcl.util.Variant)