Class Attributes

All Implemented Interfaces:
Transportable

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

    • Attributes

      public Attributes()
    • Attributes

      public Attributes(int initialCapacity)
  • Method Details

    • fset

      public VinciFrame fset(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:
      UnsupportedOperationException - thrown unconditionally.
    • fadd

      public Frame fadd(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:
      UnsupportedOperationException - thrown unconditionally.
    • fadd

      public Frame fadd(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:
      UnsupportedOperationException - thrown unconditionally.