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

Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes

org::apache::vinci::transport::VinciFrame Class Reference

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

List of all members.

Public Member Functions

void add (String key, FrameComponent val)
FrameLeaf createFrameLeaf (byte[] array)
Frame createSubFrame (String tag_name, int initialCapacity)
Frame fadd (String key, float val)
Frame fadd (String key, float[] val)
Frame fadd (String key, Frame val)
Frame fadd (String key, double val)
Frame fadd (String key, double[] val)
Frame fadd (String key, int val)
Frame fadd (String key, int[] val)
Frame fadd (String key, long val)
Frame fadd (String key, long[] val)
Frame fadd (String key, String val)
Frame fadd (String key, String[] val)
Frame fadd (String key, byte[] val)
Frame fadd (String key, boolean val)
Frame fadd (String key)
Frame faddTrueBinary (String key, byte[] val)
VinciFrame fdrop (String key)
VinciFrame fdropFirst (String key)
ArrayList fget (String key)
boolean fgetBoolean (String key)
byte[] fgetBytes (String key)
double fgetDouble (String key)
double[] fgetDoubleArray (String key)
FrameComponent fgetFirst (String key)
float fgetFloat (String key) throws LeafCastException
float[] fgetFloatArray (String key)
QueryableFrame fgetFrame (String key)
int fgetInt (String key)
int[] fgetIntArray (String key)
long fgetLong (String key)
long[] fgetLongArray (String key)
String fgetString (String key)
String[] fgetStringArray (String key)
byte[] fgetTrueBinary (String key)
VinciFrame fgetVinciFrame (String key)
ArrayList fkeys ()
void freset ()
KeyValuePair fromStream (InputStream is) throws IOException, EOFException
VinciFrame fset (String key, String val)
VinciFrame fset (String key, double val)
VinciFrame fset (String key, long val)
VinciFrame fset (String key, boolean val)
VinciFrame fset (String key, int val)
VinciFrame fset (String key, byte[] bin)
VinciFrame fset (String key, Frame val)
VinciFrame fset (String key, int[] val)
VinciFrame fsetTrueBinary (String key, byte[] bin)
Attributes getAttributes ()
KeyValuePair getKeyValuePair (int which)
int getKeyValuePairCount ()
void setAttributes (Attributes s)
boolean stripWhitespace ()
String toRawXML ()
StringBuffer toRawXML (StringBuffer buf)
void toRawXMLWork (StringBuffer rval)
void toStream (OutputStream os) throws IOException
String toString ()
String toXML ()
StringBuffer toXML (StringBuffer buf)
 VinciFrame ()
 VinciFrame (int initialCapacity)

Static Public Member Functions

static FrameTransporter getFrameTransporter ()
static TransportableFactory getVinciFrameFactory ()
static void setFrameTransporter (FrameTransporter transporter)
static VinciFrame toVinciFrame (Transportable t)

Protected Member Functions

void ensureCapacity ()
void set (String key, FrameComponent val)
void toXML (StringBuffer rval, int offset)

Private Attributes

int capacity
KeyValuePair[] elements
int size

Static Private Attributes

static TransportableFactory vinciFrameFactory

Detailed Description

This is the "default" document class for use with the Vinci client and servable classes. VinciFrame implements a queryable frame from (nested) ArrayList data structures. Search time for a named tag is O(n) in the number of keys at a given depth, which is fine for all but the largest documents.

VinciFrame complements the QueryableFrame adders and getters with several setter methods [fset(String, *)] for modifying the values of designated tags.

Definition at line 35 of file VinciFrame.java.

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

Generated by  Doxygen 1.6.0   Back to index