|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.data.elements.support.DataElement
org.dicom4j.data.elements.support.StringElement
org.dicom4j.data.elements.IntegerString
public class IntegerString
Integer String (IS) DataElement
| Field Summary | |
|---|---|
static int |
MAXIMUM_LENGTH
|
| Constructor Summary | |
|---|---|
IntegerString(DicomTag aTag)
Creates an empty element |
|
| Method Summary | |
|---|---|
int[] |
getIntegerValues()
Get the values of this attribute as an int array. |
String[] |
getStringValues(NumberFormat format)
Get the values of this attribute as strings. |
ValueRepresentation |
getValueRepresentation()
Return the value representation of this data element |
byte[] |
getVR()
Get the value representation of this attribute (IS). |
| Methods inherited from class org.dicom4j.data.elements.support.StringElement |
|---|
addValue, clear, getPaddedVL, getValueLength, getValueMultiplicity, read, setValue, toString, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MAXIMUM_LENGTH
| Constructor Detail |
|---|
public IntegerString(DicomTag aTag)
Creates an empty element
aTag - the tag of the element| Method Detail |
|---|
public int[] getIntegerValues()
throws DicomException
DataElementGet the values of this attribute as an int array.
getIntegerValues in class DataElementDicomException - thrown if values are not available (such as not supported for
this concrete attribute class)
public String[] getStringValues(NumberFormat format)
throws DicomException
StringElementGet the values of this attribute as strings.
The strings are first cleaned up into a canonical form, to remove leading and trailing padding.
getStringValues in class StringElementformat - the format to use for each numerical or decimal value
String
DicomExceptionpublic ValueRepresentation getValueRepresentation()
getValueRepresentation in class DataElementpublic byte[] getVR()
Get the value representation of this attribute (IS).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||