Interface DataBlock.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
DataBlock.SimpleHolder
Enclosing class:
DataBlock

public static interface DataBlock.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Data Block" (see DataBlock)
  • Method Details

    • wrap

      static DataBlock.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Data Block (see DataBlock)
      Returns:
      A wrapper object implementing the DataBlock.Holder interface.
    • builder

      static DataBlock.Holder.Builder builder()
      Returns:
      a DataBlock.Holder.Builder to create Data Block Items with a fluent API.
    • builder

      static DataBlock.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the DataBlock.Holder.Builder.
      Returns:
      a DataBlock.Holder.Builder to create Data Block Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getDataBlock

      default DataBlock getDataBlock()
      Returns:
      the Data Block (see DataBlock)
    • containsDataBlock

      default boolean containsDataBlock()
      Returns:
      Whether it contains the Data Block (see DataBlock)
    • removeDataBlock

      default void removeDataBlock()
      Removes the Data Block (see DataBlock