Class Attributes

  • All Implemented Interfaces:
    Transportable

    public class Attributes
    extends VinciFrame
    Class for representing a list of attributes for an XML element.
    • Constructor Detail

      • Attributes

        public Attributes()
      • Attributes

        public Attributes​(int initialCapacity)
    • 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:
        fset in class VinciFrame
        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.
        Overrides:
        fadd in class Frame
        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:
        java.lang.UnsupportedOperationException - thrown unconditionally.
      • fadd

        public Frame fadd​(java.lang.String key)
        This method throws an unchecked exception since valueless attributes are undefined.
        Overrides:
        fadd in class Frame
        Parameters:
        key - The key name.
        Returns:
        This frame.
        Throws:
        java.lang.UnsupportedOperationException - thrown unconditionally.