Interface DataBlock.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DataBlock.SimpleHolder
- Enclosing class:
- DataBlock
A class implementing this interface can hold attributes which contain the DICOM tag "Data Block" (see
DataBlock)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DataBlock.Holder.Builderbuilder()static DataBlock.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault DataBlockdefault voidRemoves the Data Block (seeDataBlockstatic DataBlock.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Data Block (seeDataBlock)- Returns:
- A wrapper object implementing the
DataBlock.Holderinterface.
-
builder
- Returns:
- a
DataBlock.Holder.Builderto create Data Block Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDataBlock.Holder.Builder.- Returns:
- a
DataBlock.Holder.Builderto create Data Block Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
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 (seeDataBlock
-