Interface InstructionText.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
InstructionSequence.Item,InstructionText.SimpleHolder,PatientPositioningInstructionSequence.Item
- Enclosing class:
- InstructionText
A class implementing this interface can hold attributes which contain the DICOM tag "Instruction Text" (see
InstructionText)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault InstructionTextdefault voidRemoves the Instruction Text (seeInstructionTextstatic InstructionText.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 Instruction Text (seeInstructionText)- Returns:
- A wrapper object implementing the
InstructionText.Holderinterface.
-
builder
- Returns:
- a
InstructionText.Holder.Builderto create Instruction Text Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theInstructionText.Holder.Builder.- Returns:
- a
InstructionText.Holder.Builderto create Instruction Text Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInstructionText
- Returns:
- the Instruction Text (see
InstructionText)
-
containsInstructionText
default boolean containsInstructionText()- Returns:
- Whether it contains the Instruction Text (see
InstructionText)
-
removeInstructionText
default void removeInstructionText()Removes the Instruction Text (seeInstructionText
-