Interface ElementShape.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ElementShape.SimpleHolder
- Enclosing class:
- ElementShape
A class implementing this interface can hold attributes which contain the DICOM tag "Element Shape" (see
ElementShape)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementShape.Holder.Builderbuilder()static ElementShape.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault ElementShapedefault voidRemoves the Element Shape (seeElementShapestatic ElementShape.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 Element Shape (seeElementShape)- Returns:
- A wrapper object implementing the
ElementShape.Holderinterface.
-
builder
- Returns:
- a
ElementShape.Holder.Builderto create Element Shape Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theElementShape.Holder.Builder.- Returns:
- a
ElementShape.Holder.Builderto create Element Shape Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getElementShape
- Returns:
- the Element Shape (see
ElementShape)
-
containsElementShape
default boolean containsElementShape()- Returns:
- Whether it contains the Element Shape (see
ElementShape)
-
removeElementShape
default void removeElementShape()Removes the Element Shape (seeElementShape
-