Class FileDicomSQItem

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class FileDicomSQItem
    extends FileDicomTagTable
    A table containing dicom tags. Common tags are not stored here and instead should be stored in the reference tag table. The reference tag table may refer to another table within a dicom sequence.
    See Also:
    Serialized Form
    • Field Detail

      • writeAsUnknownLength

        private boolean writeAsUnknownLength
        Whether the sequence should be written using an unknown length
    • Method Detail

      • doWriteAsUnknownLength

        public boolean doWriteAsUnknownLength()
        Whether the sequence should be written using an unknown length, can be set as a preference by user.
      • setWriteAsUnknownLength

        public void setWriteAsUnknownLength​(boolean writeAsUnknownLength)
        Whether the sequence should be written using an unknown length, this includes adding a sequence delimitation item to the sequence.
      • getWritableLength

        public final int getWritableLength​(boolean includeTagInfo)
        Gets the length as read in by the header (possibly undefined).
        Returns:
        The length of the sequence as read in by the header
      • getSequenceValues

        public java.util.Collection<FileDicomTag> getSequenceValues()
        Return the tag values store in this sequence tag. Does not return tags from the reference tag table.
        Returns:
        A list of dicom tags contained in this sequence tag.