Interface TextString.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
BasicAnnotationPresentationModule
- All Known Implementing Classes:
BasicAnnotationBoxIOD,TextString.SimpleHolder
- Enclosing class:
- TextString
A class implementing this interface can hold attributes which contain the DICOM tag "Text String" (see
TextString)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TextString.Holder.Builderbuilder()static TextString.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TextStringdefault voidRemoves the Text String (seeTextStringstatic TextString.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 Text String (seeTextString)- Returns:
- A wrapper object implementing the
TextString.Holderinterface.
-
builder
- Returns:
- a
TextString.Holder.Builderto create Text String Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTextString.Holder.Builder.- Returns:
- a
TextString.Holder.Builderto create Text String Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTextString
- Returns:
- the Text String (see
TextString)
-
containsTextString
default boolean containsTextString()- Returns:
- Whether it contains the Text String (see
TextString)
-
removeTextString
default void removeTextString()Removes the Text String (seeTextString
-