Package org.apache.vinci.transport
Class Attributes
- java.lang.Object
-
- org.apache.vinci.transport.FrameComponent
-
- org.apache.vinci.transport.Frame
-
- org.apache.vinci.transport.QueryableFrame
-
- org.apache.vinci.transport.VinciFrame
-
- org.apache.vinci.transport.Attributes
-
- All Implemented Interfaces:
Transportable
public class Attributes extends VinciFrame
Class for representing a list of attributes for an XML element.
-
-
Constructor Summary
Constructors Constructor Description Attributes()Attributes(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Framefadd(java.lang.String key)This method throws an unchecked exception since valueless attributes are undefined.Framefadd(java.lang.String key, Frame val)This method throws an unchecked exception since you should never add non-leaf valued attributes.VinciFramefset(java.lang.String key, Frame val)This method throws an unchecked exception since you should never add non-leaf valued attributes.-
Methods inherited from class org.apache.vinci.transport.VinciFrame
add, createSubFrame, ensureCapacity, fdrop, fdropFirst, fget, fgetFirst, fgetVinciFrame, fkeys, freset, fset, fset, fset, fset, fset, fset, fset, fsetTrueBinary, getKeyValuePair, getKeyValuePairCount, getVinciFrameFactory, set, stripWhitespace, toVinciFrame
-
Methods inherited from class org.apache.vinci.transport.QueryableFrame
fgetBoolean, fgetBytes, fgetDouble, fgetDoubleArray, fgetFloat, fgetFloatArray, fgetFrame, fgetInt, fgetIntArray, fgetLong, fgetLongArray, fgetString, fgetStringArray, fgetTrueBinary
-
Methods inherited from class org.apache.vinci.transport.Frame
createFrameLeaf, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, faddTrueBinary, fromStream, getFrameTransporter, setFrameTransporter, toRawXML, toRawXML, toRawXMLWork, toStream, toString, toXML, toXML, toXML
-
Methods inherited from class org.apache.vinci.transport.FrameComponent
getAttributes, setAttributes
-
-
-
-
Method Detail
-
fset
public VinciFrame fset(java.lang.String key, Frame val)
This method throws an unchecked exception since you should never add non-leaf valued attributes.- Overrides:
fsetin classVinciFrame- Parameters:
key- -val- -- Returns:
- -
- Throws:
java.lang.UnsupportedOperationException- thrown unconditionally.
-
fadd
public Frame fadd(java.lang.String key, Frame val)
This method throws an unchecked exception since you should never add non-leaf valued attributes.
-
-