Class LabelText

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, StringDataElementWrapper, UnlimitedTextWrapper

public class LabelText extends AbstractDataElementWrapper implements UnlimitedTextWrapper
Name: Label Text
Keyword: LabelText
Tag: (2200,0002)
Value Representation: UT
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Label Text
    Type: 2
    Attribute Description:

    Label text interpreted from the scanned slide label, e.g., by optical character recognition.


  • Described in the contexts: as follows:
    Attribute Name: Label Text
    Type:
    Attribute Description:

    Unformatted free text to include in the label instead of or in addition to information extracted from the Instances.


  • Field Details

  • Constructor Details

    • LabelText

      public LabelText(org.dcm4che3.data.Attributes attributes)
      Creates a new Label Text object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • LabelText

      public LabelText()
      Creates a new Label Text object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public LabelText copy()
      Returns a new Label Text which wraps a copy of the Attributes wrapped in this Label Text. (see Attributes(Attributes)
      Returns:
      a new Label Text which wraps a copy of the Attributes wrapped in this Label Text.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM attributes.