|
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.DDictBase
public class DDictBase
Superclass of the DDict dictionary class. This class contains constants for the
different VR types and methods for looking up data element definitions and
methods for adding new data element definitions to the dictionary.
When adding private tags to the dictionary, use a DDictEntry constructor that
accepts a private creator ID as an argument. JDT will create a private creator ID
data element if necessary an will modify the element values to take into account
multiple private creators that use the same group number according to the rules
specified in the DICOM standard.
| Field Summary | |
|---|---|
protected static java.util.HashMap |
dctList
|
static int |
dUNDEFINED
|
protected static com.archimed.dicom.DDictMap |
geList
|
static int |
tAE
|
static int |
tAS
|
static int |
tAT
|
static int |
tCS
|
static int |
tDA
|
static int |
tDS
|
static int |
tDT
|
static int |
tFD
|
static int |
tFL
|
static int |
tIS
|
static int |
tLO
|
static int |
tLT
|
static int |
tNONE
|
static int |
tOB
|
static int |
tOF
|
static int |
tOW
|
static int |
tOW_OB
|
static int |
tPN
|
static int |
tSH
|
static int |
tSL
|
static int |
tSQ
|
static int |
tSS
|
static int |
tST
|
static int |
tTM
|
static int |
tUI
|
static int |
tUL
|
static int |
tUN
|
static int |
tUNKNOWN
This constant is identical to tUN and is retained for backwards compatability. |
static int |
tUS
|
static int |
tUS_SS
|
static int |
tUT
|
| Constructor Summary | |
|---|---|
DDictBase()
|
|
| Method Summary | |
|---|---|
static int |
addEntry(DDictEntry de)
adds a DDictEntry to the dictionary. |
static java.util.Enumeration |
ddictEntries()
returns an enumeration of all entries in this dictionary. |
static java.lang.String |
getDescription(int dct)
returns a short description of the specified tag. |
static int |
getElement(int dct)
returns the element value of a tag for a DDict constant representing a tag. |
static DDictEntry |
getEntry(int dct)
returns the DDictEntry instance for the specified tag. |
static int |
getGroup(int dct)
returns the group value of a tag for a DDict constant representing a tag. |
static int |
getTypeCode(int dct)
returns one of the DDictBase constants representing VR types (DDictBase.tXX constants) for a tag also specified by a DDict constant. |
static int |
getTypeCode(int g,
int e)
returns the VR type for a tag with specified group and element number. |
static java.lang.String |
getTypeCodeName(int dct)
returns the two character type name (eg: US,SQ,... |
static java.lang.String |
getTypeName(int type)
returns the two character String representing a value representation. |
static int |
lookupDDict(int g,
int e)
returns the DDict constant representing the tag for a tag with specified group and element value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int tUN
public static final int tUNKNOWN
public static final int tUL
public static final int tUI
public static final int tUS
public static final int tAE
public static final int tAT
public static final int tLO
public static final int tSH
public static final int tOB
public static final int tCS
public static final int tSQ
public static final int tDA
public static final int tTM
public static final int tST
public static final int tPN
public static final int tIS
public static final int tDS
public static final int tAS
public static final int tLT
public static final int tSL
public static final int tFD
public static final int tUS_SS
public static final int tOW_OB
public static final int tSS
public static final int tOW
public static final int tNONE
public static final int tFL
public static final int tUT
public static final int tDT
public static final int tOF
public static final int dUNDEFINED
protected static java.util.HashMap dctList
protected static com.archimed.dicom.DDictMap geList
| Constructor Detail |
|---|
public DDictBase()
| Method Detail |
|---|
public static java.lang.String getTypeName(int type)
type - one of the tXX constants of DDictBase
public static java.lang.String getTypeCodeName(int dct)
dct - a DDict constant or key to a privately added DDict entry.
public static int lookupDDict(int g,
int e)
g - e -
public static int getGroup(int dct)
dct -
public static int getElement(int dct)
dct -
public static int getTypeCode(int dct)
dct -
public static int getTypeCode(int g,
int e)
g - e -
public static java.lang.String getDescription(int dct)
dct - one of the DDict constants or privately added constants.
public static java.util.Enumeration ddictEntries()
com.archimed.DDictEntry.
public static DDictEntry getEntry(int dct)
a - DDict constant or privately added constant.
public static int addEntry(DDictEntry de)
throws DicomException
de - a DDictEntry
DicomException - is thrown if the (group, element) - pair already exists in the
DDict
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||