public class ImplicitDE extends DataElement
| Constructor and Description |
|---|
ImplicitDE(IDictionaryReader objIDictReader)
This constructor is used to provide user defined dictionary reader to the Implicit DataElement
|
ImplicitDE(int iGroupNumber,
int iElementNumber,
IDicomValue objIDicomValue,
ITransferSyntax objTransferSyntax,
IDictionaryReader objIDictReader)
Creates Implicit DataElement based on the GroupNumber, ElementNumber, VR Type , Dicom Data , Transfer Syntax and Dictionary Reader.
|
ImplicitDE(int iGroupNumber,
int iElementNumber,
java.lang.Object objValue,
IDictionaryReader objIDictReader)
This constructor accepts dictionary reader reading from the dictionary populated using
the DictioanryReader and sets the transfersyntax in the dataelement as a default transfersyntax
|
ImplicitDE(int iGroupNumber,
int iElementNumber,
java.lang.Object objValue,
ITransferSyntax objTransferSyntax,
IDictionaryReader objIDictReader)
This constructor can be used to create a dataelement
containing sequence in which case the Transfersyntax needs to be specified from outside
|
ImplicitDE(ITransferSyntax objTransferSyntax,
IDictionaryReader objIDictReader)
This constructor is used to provide user defined dictionary reader and TS to the Implicit DataElement
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDataElementLength()
Retrieves the length of the DataElement
|
IDicomValue |
getDicomValue()
Retrieves the DicomValue present in the Implicit DataElement
|
int |
parse(IDicomStream objIDicomStream)
parse method reads the Tag,ValueLength,Data Value from the Stream.
|
int |
serialize(IDicomStream objIDicomStream)
This method is used to write the Data Element to the Stream
|
void |
setDicomValue(IDicomValue objIDicomValue)
sets the DicomValue into the DataElement.
|
clone, dumpDICOMInfo, equals, getDictionaryReader, getTag, getTransferSyntax, getValue, getValueLength, getValueMultiplicity, setDictionaryReader, setTag, setTransferSyntax, setValueMultiplicity, validatepublic ImplicitDE(IDictionaryReader objIDictReader)
objIDictReader - DictionaryReader to read from the Dictionarypublic ImplicitDE(ITransferSyntax objTransferSyntax, IDictionaryReader objIDictReader) throws InvalidTransferSyntaxException
objTransferSyntax - TransferSyntax specified by DICOM StandardobjIDictReader - DictionaryReader to read from the DictionaryInvalidTransferSyntaxException - Signals Transfer Syntax fails to satisfy Validation Criteria.public ImplicitDE(int iGroupNumber,
int iElementNumber,
java.lang.Object objValue,
IDictionaryReader objIDictReader)
throws InvalidDataElementException
iGroupNumber - GroupNumber from the Tag identifying this DataElementiElementNumber - ElementNumber from the Tah identifying this DataElementobjValue - value of the DataElementobjIDictReader - DictionaryReader to read from the DictionaryInvalidDataElementException - Signals Data Element fails to satisfy Validation Criteria.public ImplicitDE(int iGroupNumber,
int iElementNumber,
IDicomValue objIDicomValue,
ITransferSyntax objTransferSyntax,
IDictionaryReader objIDictReader)
throws InvalidDataElementException,
InvalidTransferSyntaxException
iGroupNumber - GroupNumber from the Tag identifying this DataElement.iElementNumber - ElementNumber from the Tag identifying this DataElement.iVRType - Value Representation Type specified in @see DicomConstants.objIDicomValue - Populated Dicom Data to be set in Implicit Data Element.objTransferSyntax - value of Transfer Sytntax.objIDictReader - Dictionary Reader instance.InvalidDataElementException - thrown when creation of Data Element fails.InvalidTransferSyntaxException - thrown when creation of Transfer Syntax fails.public ImplicitDE(int iGroupNumber,
int iElementNumber,
java.lang.Object objValue,
ITransferSyntax objTransferSyntax,
IDictionaryReader objIDictReader)
throws InvalidDataElementException,
InvalidTransferSyntaxException
iGroupNumber - GroupNumber from the Tag identifying this DataElementiElementNumber - ElementNumber from the the identifying this DataElementobjValue - value of the DataElementobjTransferSyntax - TransferSyntax specified by DICOM StandardobjIDictReader - DictionaryReader to read from the DictionaryInvalidDataElementException - Signals Data Element fails to satisfy Validation Criteria.InvalidTransferSyntaxException - Signals Transfer Syntax fails to satisfy Validation Criteria.public IDicomValue getDicomValue()
getDicomValue in interface IDataElementgetDicomValue in class DataElementpublic int parse(IDicomStream objIDicomStream) throws InvalidDataElementException, java.io.IOException
parse in interface IDataElementparse in class DataElementobjIDicomStream - stream from which the DataType is to be writtenInvalidDataElementException - Signals Data Element fails to satisfy Validation Criteria.java.io.IOException - Signals that an I/O exception of some sort has occurredpublic int serialize(IDicomStream objIDicomStream) throws java.io.IOException
serialize in interface IDataElementserialize in class DataElementobjIDicomStream - : Stream Object on which to write the Data Elementjava.io.IOException - Signals that an I/O exception of some sort has occurredpublic int getDataElementLength()
getDataElementLength in interface IDataElementgetDataElementLength in class DataElementpublic void setDicomValue(IDicomValue objIDicomValue)
setDicomValue in interface IDataElementsetDicomValue in class DataElementobjIDicomValue - object of IDicomValue which represents the value of the DataElement