Interface TextString.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
BasicAnnotationPresentationModule
- All Known Implementing Classes:
BasicAnnotationBoxIOD,TextString.SimpleHolder
- Enclosing class:
- TextString
public static interface TextString.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Text String" (seeTextString)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTextString.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TextString.Holder.Builderbuilder()static TextString.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsTextString()default TextStringgetTextString()default voidremoveTextString()Removes the Text String (seeTextStringstatic TextString.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static TextString.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Text String (seeTextString)- Returns:
- a wrapper object implementing the
TextString.Holderinterface.
-
builder
static TextString.Holder.Builder builder()
- Returns:
- a
TextString.Holder.Builderto create Text String Items with a fluent API.
-
builder
static TextString.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default TextString 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
-
-