org.apache.vinci.transport.document
Class AFrameLeaf

java.lang.Object
  extended by org.apache.vinci.transport.FrameComponent
      extended by org.apache.vinci.transport.FrameLeaf
          extended by org.apache.vinci.transport.document.AFrameLeaf

public class AFrameLeaf
extends FrameLeaf

This class extends FrameLeaf with ability to set attributes.


Field Summary
 
Fields inherited from class org.apache.vinci.transport.FrameLeaf
NOT_UTF8_ERROR
 
Constructor Summary
AFrameLeaf(boolean bool)
           
AFrameLeaf(byte[] data, boolean encode)
           
AFrameLeaf(double mydouble)
           
AFrameLeaf(double[] mydouble)
           
AFrameLeaf(float myfloat)
           
AFrameLeaf(float[] myfloat)
           
AFrameLeaf(int myint)
           
AFrameLeaf(int[] myint)
           
AFrameLeaf(long mylong)
           
AFrameLeaf(long[] mylong)
           
AFrameLeaf(java.lang.String mystring)
           
AFrameLeaf(java.lang.String[] mystring)
           
 
Method Summary
 Attributes createAttributes()
           
 Attributes getAttributes()
          Get the attributes associated with this FrameComponent.
 void setAttributes(Attributes s)
          Set the attributes (replacing any previous ones) assocated with this Frame component.
 
Methods inherited from class org.apache.vinci.transport.FrameLeaf
getData, toBoolean, toBytes, toDouble, toDoubleArray, toFloat, toFloatArray, toInt, toIntArray, toLong, toLongArray, toString, toStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AFrameLeaf

public AFrameLeaf(byte[] data,
                  boolean encode)

AFrameLeaf

public AFrameLeaf(java.lang.String mystring)

AFrameLeaf

public AFrameLeaf(java.lang.String[] mystring)

AFrameLeaf

public AFrameLeaf(float myfloat)

AFrameLeaf

public AFrameLeaf(float[] myfloat)

AFrameLeaf

public AFrameLeaf(double mydouble)

AFrameLeaf

public AFrameLeaf(double[] mydouble)

AFrameLeaf

public AFrameLeaf(int myint)

AFrameLeaf

public AFrameLeaf(int[] myint)

AFrameLeaf

public AFrameLeaf(long mylong)

AFrameLeaf

public AFrameLeaf(long[] mylong)

AFrameLeaf

public AFrameLeaf(boolean bool)
Method Detail

setAttributes

public void setAttributes(Attributes s)
Description copied from class: FrameComponent
Set the attributes (replacing any previous ones) assocated with this Frame component. Default implementation does nothing since attributes are not supported by default.

Overrides:
setAttributes in class FrameComponent

getAttributes

public Attributes getAttributes()
Description copied from class: FrameComponent
Get the attributes associated with this FrameComponent.

Overrides:
getAttributes in class FrameComponent
Returns:
The set of attributes associated with this FrameComponent. This method may return "null" to indicate there are no attributes. It could however return an empty Attribute set depending on the implementation.

createAttributes

public Attributes createAttributes()


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.