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
Class for representing a list of attributes for an XML element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method throws an unchecked exception since valueless attributes are undefined.This method throws an unchecked exception since you should never add non-leaf valued attributes.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, toVinciFrameMethods inherited from class org.apache.vinci.transport.QueryableFrame
fgetBoolean, fgetBytes, fgetDouble, fgetDoubleArray, fgetFloat, fgetFloatArray, fgetFrame, fgetInt, fgetIntArray, fgetLong, fgetLongArray, fgetString, fgetStringArray, fgetTrueBinaryMethods 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, toXMLMethods inherited from class org.apache.vinci.transport.FrameComponent
getAttributes, setAttributes
-
Constructor Details
-
Attributes
public Attributes() -
Attributes
public Attributes(int initialCapacity)
-
-
Method Details
-
fset
This method throws an unchecked exception since you should never add non-leaf valued attributes.- Overrides:
fsetin classVinciFrame- Parameters:
key- -val- -- Returns:
- -
- Throws:
UnsupportedOperationException- thrown unconditionally.
-
fadd
This method throws an unchecked exception since you should never add non-leaf valued attributes.- Overrides:
faddin classFrame- Parameters:
key- The key to be associated with the value.val- The sub-frame to add. Note this frame is not copied.- Returns:
- This frame.
- Throws:
UnsupportedOperationException- thrown unconditionally.
-
fadd
This method throws an unchecked exception since valueless attributes are undefined.- Overrides:
faddin classFrame- Parameters:
key- The key name.- Returns:
- This frame.
- Throws:
UnsupportedOperationException- thrown unconditionally.
-