Interface NewAttributeBands.AttributeLayoutElement

All Known Implementing Classes:
NewAttributeBands.Call, NewAttributeBands.Callable, NewAttributeBands.Integral, NewAttributeBands.LayoutElement, NewAttributeBands.Reference, NewAttributeBands.Replication, NewAttributeBands.Union, NewAttributeBands.UnionCase
Enclosing class:
NewAttributeBands

private static interface NewAttributeBands.AttributeLayoutElement
An AttributeLayoutElement is a part of an attribute layout and has one or more bands associated with it, which transmit the AttributeElement data for successive Attributes of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addToAttribute(int index, NewAttribute attribute)
    Adds the band data for this element at the given index to the attribute.
    void
    readBands(InputStream in, int count)
    Read the bands associated with this part of the layout.
  • Method Details

    • addToAttribute

      void addToAttribute(int index, NewAttribute attribute)
      Adds the band data for this element at the given index to the attribute.
      Parameters:
      index - Index position to add the attribute.
      attribute - The attribute to add.
    • readBands

      void readBands(InputStream in, int count) throws IOException, Pack200Exception
      Read the bands associated with this part of the layout.
      Parameters:
      in - TODO
      count - TODO
      Throws:
      Pack200Exception - Bad archive.
      IOException - If an I/O error occurs.