Module org.hdfgroup.object
Package hdf.object.h5

# Interface H5Attribute

All Superinterfaces:
  `Attribute`

All Known Implementing Classes:
  `H5CompoundAttr`, `H5ScalarAttr`

public interface H5Attribute extends Attribute
An interface that provides general attribute operations for hdf5 object data. For example, reference to a parent object.

See Also:
  - `HObject`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `AttributeCommonIO(long attr_id, H5File.IO_TYPE ioType, Object objBuf)`
  The general read and write attribute operations for hdf5 object data.
  `Object`
  `AttributeSelection()`
  Read a subset of an attribute for hdf5 object data.

  ### Methods inherited from interface hdf.object.Attribute

  `getAttributeData, getAttributeDatatype, getAttributeDims, getAttributeName, getAttributePlane, getAttributeRank, getAttributeSpaceType, getParentObject, getProperty, getPropertyKeys, isAttributeNULL, isAttributeScalar, setAttributeData, setParentObject, setProperty, toAttributeString, toAttributeString, writeAttribute, writeAttribute`

- ## Method Details

  - ### AttributeCommonIO

    Object AttributeCommonIO(long attr_id, H5File.IO_TYPE ioType, Object objBuf) throws Exception
    The general read and write attribute operations for hdf5 object data.
    Parameters:
      `attr_id` - the attribute to access
      `ioType` - the type of IO operation
      `objBuf` - the data buffer to use for write operation
    Returns:
      the attribute data
    Throws:
      `Exception` - if the data can not be retrieved

  - ### AttributeSelection

    Object AttributeSelection() throws Exception
    Read a subset of an attribute for hdf5 object data.
    Returns:
      the selected attribute data
    Throws:
      `Exception` - if the data can not be retrieved