Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes | Private Attributes

org::apache::vinci::transport::FrameLeaf Class Reference

Inheritance diagram for org::apache::vinci::transport::FrameLeaf:
Inheritance graph
Collaboration diagram for org::apache::vinci::transport::FrameLeaf:
Collaboration graph

List of all members.

Public Member Functions

 FrameLeaf (byte[] mydata, boolean encode)
 FrameLeaf (String mydata)
 FrameLeaf (float myfloat_)
 FrameLeaf (int myint_)
 FrameLeaf (int[] myint)
 FrameLeaf (float[] myfloat)
 FrameLeaf (long myint)
 FrameLeaf (long[] mylong)
 FrameLeaf (String[] mystring)
 FrameLeaf (double myfloat)
 FrameLeaf (boolean bool)
 FrameLeaf (double[] mydouble)
Attributes getAttributes ()
byte[] getData ()
void setAttributes (Attributes s)
boolean toBoolean ()
byte[] toBytes ()
double toDouble ()
double[] toDoubleArray ()
float toFloat ()
float[] toFloatArray ()
int toInt ()
int[] toIntArray ()
long toLong ()
long[] toLongArray ()
String toString ()
String[] toStringArray ()

Static Public Attributes

static final String NOT_UTF8_ERROR = "*** ERROR: Data not utf8 ***"

Private Attributes

final byte[] data

Detailed Description

Class encapsulating leaf data from a Frame. Internally, leaf data is always represented as UTF-8. Most people will never have to use this class directly unless implementing specialized Frame document types.

While FrameLeaf is effectively an immutable class, any descendents that implement setAttributes of the base class FrameComponent are not likely to be immutable.

Definition at line 40 of file FrameLeaf.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index