Interface HuffmanTableSize.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
HuffmanTableSize.SimpleHolder
- Enclosing class:
- HuffmanTableSize
A class implementing this interface can hold attributes which contain the DICOM tag "Huffman Table Size" (see
HuffmanTableSize)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault HuffmanTableSizedefault voidRemoves the Huffman Table Size (seeHuffmanTableSizestatic HuffmanTableSize.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 Huffman Table Size (seeHuffmanTableSize)- Returns:
- A wrapper object implementing the
HuffmanTableSize.Holderinterface.
-
builder
- Returns:
- a
HuffmanTableSize.Holder.Builderto create Huffman Table Size Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theHuffmanTableSize.Holder.Builder.- Returns:
- a
HuffmanTableSize.Holder.Builderto create Huffman Table Size Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getHuffmanTableSize
- Returns:
- the Huffman Table Size (see
HuffmanTableSize)
-
containsHuffmanTableSize
default boolean containsHuffmanTableSize()- Returns:
- Whether it contains the Huffman Table Size (see
HuffmanTableSize)
-
removeHuffmanTableSize
default void removeHuffmanTableSize()Removes the Huffman Table Size (seeHuffmanTableSize
-