|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.archimed.dicom.TagValue
public class TagValue
represents a (group, element) - pair and its value.
Use getValue() or getValue(i) to inspect the different fields.
The value-field is a Vector (for multiplicity)
consisting of different objects with Java types depending
on the DICOM-type of the data element (as specified in the conversion table: see
DicomObject).
| Field Summary | |
|---|---|
protected int |
dataLen
|
protected DicomObject |
dcm
should always contain the DicomObject to which this data element directly belongs to, also for file meta info. |
protected int |
dcm_type
|
protected int |
element
|
protected int |
group
|
protected java.util.Vector |
val
|
| Constructor Summary | |
|---|---|
TagValue()
|
|
| Method Summary | |
|---|---|
int |
getElement()
returns the element field of this TagValue. |
int |
getGroup()
returns the group field of this TagValue. |
java.lang.Object |
getValue()
returns the first value in this TagValue. |
java.lang.Object |
getValue(int i)
returns the value at index 'i'. |
int |
size()
returns the number of objects in this TagValue's value field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int group
protected int element
protected java.util.Vector val
protected int dcm_type
protected int dataLen
protected DicomObject dcm
| Constructor Detail |
|---|
public TagValue()
| Method Detail |
|---|
public int getGroup()
public int getElement()
public int size()
public java.lang.Object getValue(int i)
throws DicomException
is - thrown when the index is out of bounds. Check the
bounds using size
DicomExceptionpublic java.lang.Object getValue()
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||