Class AFrameLeaf
- java.lang.Object
-
- org.apache.vinci.transport.FrameComponent
-
- org.apache.vinci.transport.FrameLeaf
-
- org.apache.vinci.transport.document.AFrameLeaf
-
public class AFrameLeaf extends FrameLeaf
This class extends FrameLeaf with ability to set attributes.
-
-
Field Summary
Fields Modifier and Type Field Description private Attributes
a
-
Fields inherited from class org.apache.vinci.transport.FrameLeaf
NOT_UTF8_ERROR
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
a
private Attributes a
-
-
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 classFrameComponent
- Parameters:
s
- -
-
getAttributes
public Attributes getAttributes()
Description copied from class:FrameComponent
Get the attributes associated with this FrameComponent.- Overrides:
getAttributes
in classFrameComponent
- 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()
-
-