|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.SequenceItem
public class SequenceItem
A class to provide support for the contents of an individual item of a DICOM Sequence (SQ) attribute, each of which consists of an entire dataset (list of attributes).
SequenceAttribute| Field Summary | |
|---|---|
protected long |
byteOffset
|
| Constructor Summary | |
|---|---|
SequenceItem(AttributeList l)
Construct a sequence attribute item with a list of attributes. |
|
SequenceItem(AttributeList l,
long offset)
Construct a sequence attribute item with a list of attributes, additionally keeping track of where in the byte stream that the attributes were read from the item starts, for use in supporting DICOM Directory Records which are indexed by physical byte offset (see DicomDirectory). |
|
| Method Summary | |
|---|---|
AttributeList |
getAttributeList()
Get the list of attributes in this item. |
long |
getByteOffset()
Get the byte offset of the start of this item recorded when the item was read. |
String |
toString()
Dump the item in a human readable form, list the contained attributes. |
String |
toString(DicomDictionary dictionary)
Dump the item in a human readable form, list the contained attributes. |
void |
write(DicomOutputStream o)
Write the item (with appropriate delimiter tags) to the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long byteOffset
| Constructor Detail |
|---|
public SequenceItem(AttributeList l)
Construct a sequence attribute item with a list of attributes.
l - the list of attributes that comprise the item
public SequenceItem(AttributeList l,
long offset)
Construct a sequence attribute item with a list of attributes,
additionally keeping track of where in the byte stream that the
attributes were read from the item starts, for use in supporting
DICOM Directory Records which are indexed by physical byte offset
(see DicomDirectory).
l - the list of attributes that comprise the itemoffset - | Method Detail |
|---|
public AttributeList getAttributeList()
Get the list of attributes in this item.
public long getByteOffset()
Get the byte offset of the start of this item recorded when the item was read.
public void write(DicomOutputStream o)
throws DicomException,
IOException
Write the item (with appropriate delimiter tags) to the output stream.
Always written in undefined length form.
o - the output stream
IOException
DicomExceptionpublic String toString(DicomDictionary dictionary)
Dump the item in a human readable form, list the contained attributes.
dictionary -
public String toString()
Dump the item in a human readable form, list the contained attributes.
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||