public class TagValue
extends java.lang.Object
implements java.io.Serializable
getValue()
or getValue(i)
to inspect the different fields.
DicomObject
).Modifier and Type | Field and Description |
---|---|
protected long |
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.List |
val |
Constructor and Description |
---|
TagValue() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected int group
protected int element
protected java.util.List val
protected int dcm_type
protected long dataLen
protected DicomObject dcm
public int getGroup()
public int getElement()
public int size()
public java.lang.Object getValue(int i) throws DicomException
DicomException
- thrown when the index is out of bounds. Check the
bounds using size
public java.lang.Object getValue()