Interface EncryptedContent.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
EncryptedAttributesSequence.Item,EncryptedContent.SimpleHolder
- Enclosing class:
- EncryptedContent
A class implementing this interface can hold attributes which contain the DICOM tag "Encrypted Content" (see
EncryptedContent)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault EncryptedContentdefault voidRemoves the Encrypted Content (seeEncryptedContentstatic EncryptedContent.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 Encrypted Content (seeEncryptedContent)- Returns:
- A wrapper object implementing the
EncryptedContent.Holderinterface.
-
builder
- Returns:
- a
EncryptedContent.Holder.Builderto create Encrypted Content Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theEncryptedContent.Holder.Builder.- Returns:
- a
EncryptedContent.Holder.Builderto create Encrypted Content Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getEncryptedContent
- Returns:
- the Encrypted Content (see
EncryptedContent)
-
containsEncryptedContent
default boolean containsEncryptedContent()- Returns:
- Whether it contains the Encrypted Content (see
EncryptedContent)
-
removeEncryptedContent
default void removeEncryptedContent()Removes the Encrypted Content (seeEncryptedContent
-