public class DictionaryReader extends java.lang.Object implements IDictionaryReader
| Modifier and Type | Method and Description |
|---|---|
static DictionaryReader |
createInstance()
Returns instance of Dictionary Reader if not created.
|
static DictionaryReader |
createInstance(java.lang.String strXMLFile,
java.lang.String strXSDFile)
Constructs a RegistryTransactionAgent object and ensures that it is singleton.
|
int |
getMaxVM(int iGroupNumber,
int iElementNumber)
Returns the maximum Value Multiplicity specified by Dicom Standard for the specified Tag
VR Type represents the maximum Value Multiplicity for the specified Tag.
|
int |
getMinVM(int iGroupNumber,
int iElementNumber)
Returns the minimum Value Multiplicity specified by Dicom Standard for the specified Tag
VR Type represents the minimum Value Multiplicity for the specified Tag
|
java.lang.String |
getName(int iGroupNumber,
int iElementNumber)
Returns the name specified by Dicom Standard for the specified Tag
|
short[] |
getTag(java.lang.String strDataElementName)
Retrieves the Group Number and Element Number of Attribute Name provided.
|
java.lang.String |
getVR(int iGroupNumber,
int iElementNumber)
Returns the VR Type specified by Dicom Standard for the specified Tag
VR Type represents the Value Representation for the specified Tag
|
boolean |
isDictionaryPopulated()
Returns the status of Dictionary whether it is populated or not.
|
boolean |
isRetired(int iGroupNumber,
int iElementNumber)
Returns the status indicating whether the specified tag is retired from Dicom V3-2004 Standard Specification.
|
boolean |
isVRValid(ITag objITag,
int iVRType)
Validates if the Value Representation(VR) and the Tag match according to the Data Dictionary.
|
void |
populate()
Populates the Dictionary Data Provider with all the attributes from the Data Dictionary.
|
public static DictionaryReader createInstance() throws InvalidDictionaryException
InvalidDictionaryExceptionpublic void populate()
throws InvalidDictionaryException
populate in interface IDictionaryReaderInvalidDictionaryExceptionpublic static DictionaryReader createInstance(java.lang.String strXMLFile, java.lang.String strXSDFile)
strXMLFile - String containing the XML File path.strXSDFile - String containing the XSD File path.public boolean isDictionaryPopulated()
isDictionaryPopulated in interface IDictionaryReaderpublic java.lang.String getName(int iGroupNumber,
int iElementNumber)
getName in interface IDictionaryReaderiGroupNumber - Group Number of Tag.iElementNumber - Element Number of Tag.public java.lang.String getVR(int iGroupNumber,
int iElementNumber)
getVR in interface IDictionaryReaderiGroupNumber - Group Number of Tag.iElementNumber - Element Number of Tag.public int getMinVM(int iGroupNumber,
int iElementNumber)
getMinVM in interface IDictionaryReaderiGroupNumber - Group Number of Tag.iElementNumber - Element Number of Tag.public int getMaxVM(int iGroupNumber,
int iElementNumber)
getMaxVM in interface IDictionaryReaderiGroupNumber - Group Number of Tag.iElementNumber - Element Number of Tag.public boolean isRetired(int iGroupNumber,
int iElementNumber)
isRetired in interface IDictionaryReaderiGroupNumber - Group Number of Tag.iElementNumber - Element Number of Tag.public boolean isVRValid(ITag objITag, int iVRType)
objITag - Tag need to be verified.iVRType - Value Representation to be matched.public short[] getTag(java.lang.String strDataElementName)
getTag in interface IDictionaryReaderstrDataElementName - String value of Data Element name.