Class UnlimitedTextAttribute


public class UnlimitedTextAttribute extends TextAttribute

A concrete class specializing Attribute for Unlimited Text (UT) attributes.

Though an instance of this class may be created using its constructors, there is also a factory class, AttributeFactory.

See Also:
  • Field Details

    • MAX_LENGTH_ENTIRE_VALUE

      protected static final int MAX_LENGTH_ENTIRE_VALUE
      See Also:
  • Constructor Details

    • UnlimitedTextAttribute

      public UnlimitedTextAttribute(AttributeTag t)

      Construct an (empty) attribute.

      Parameters:
      t - the tag of the attribute
    • UnlimitedTextAttribute

      public UnlimitedTextAttribute(AttributeTag t, SpecificCharacterSet specificCharacterSet)

      Construct an (empty) attribute.

      Parameters:
      t - the tag of the attribute
      specificCharacterSet - the character set to be used for the text
    • UnlimitedTextAttribute

      public UnlimitedTextAttribute(AttributeTag t, long vl, DicomInputStream i, SpecificCharacterSet specificCharacterSet) throws IOException, DicomException

      Read an attribute from an input stream.

      Parameters:
      t - the tag of the attribute
      vl - the value length of the attribute
      i - the input stream
      specificCharacterSet - the character set to be used for the text
      Throws:
      IOException
      DicomException
    • UnlimitedTextAttribute

      public UnlimitedTextAttribute(AttributeTag t, Long vl, DicomInputStream i, SpecificCharacterSet specificCharacterSet) throws IOException, DicomException

      Read an attribute from an input stream.

      Parameters:
      t - the tag of the attribute
      vl - the value length of the attribute
      i - the input stream
      specificCharacterSet - the character set to be used for the text
      Throws:
      IOException
      DicomException
  • Method Details