|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.archimed.dicom.TagReadEvent
public class TagReadEvent
TagReadEvent is used to notify interested parties that a tag is being read. After reading the header, a TagReadListener can control how the data portion is further processed with the dataReadStatus property.
| Field Summary | |
|---|---|
static int |
NEXT_TAG
the next tag is read. |
static int |
READ_TAG_DATA
the data portion of the tag is read normally (default) |
static int |
SKIP_TAG
the data portion of the tag is skipped and the tag is not added to the dicom object |
static int |
SKIP_TAG_DATA
he data portion of the thag is skipped and an empty tag is added to the DicomObject |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Method Summary | |
|---|---|
DataElement |
getDataElement()
returns the Data Element that is currently being read |
int |
getDataReadStatus()
returns the read status. |
DicomObject |
getDicomObject()
returns the DicomObject of the data element currently being read and causing this event. |
int |
getElement()
returns the element value of the tag read. |
int |
getGroup()
returns the group value of the tag read. |
java.io.InputStream |
getInputStream()
returns an inputstream positioned at the beginning of the data portion of the tag |
int |
getLength()
returns the length of the data portion of the tag being read. |
long |
getOffset()
returns the offset of the beginning the data element - before the first byte of the 2 bytes of the group field - starting from the beginning of the stream. |
int |
getTag()
returns the DDict constant corresponding to the group,element pair of this data element. |
int |
getVRType()
returns the vr type of the tag read. |
boolean |
isStopReading()
returns if reading of the stream should be stopped. |
void |
setDataReadStatus(int dataReadStatus)
sets the read status. |
void |
setStopReading(boolean stopReading)
sets whether the DicomReader should stop reading data elements after processing the current data element. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int READ_TAG_DATA
public static final int SKIP_TAG_DATA
public static final int SKIP_TAG
public static final int NEXT_TAG
| Method Detail |
|---|
public DicomObject getDicomObject()
public int getGroup()
public int getElement()
public int getTag()
public int getVRType()
public int getLength()
public java.io.InputStream getInputStream()
public DataElement getDataElement()
public int getDataReadStatus()
public void setDataReadStatus(int dataReadStatus)
dataReadStatus - one of
public boolean isStopReading()
public void setStopReading(boolean stopReading)
stopReading - booleanpublic long getOffset()
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||