public class AT extends DicomValue
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDICOMInfo(IDicomStream objIDicomStream)
Dumps the DICOM Data in readable form to the specified stream.
|
long |
getMaxLength()
Retrieves the maximum length allowed for AT DataType by DICOM Standard.
|
int |
getValueLength()
Retrieves the actual value length of the AT DataType.
|
boolean |
read(IDicomStream objIDicomStream,
int iLength)
This method reads all groupNumbers followed by respective ElementNumbers from the Stream and stores it in collection.Also sets value to DicomValue.
|
void |
setValue(java.lang.Object objValue)
Sets the value of AT DataType
|
java.lang.String |
toString()
This function returns the String value of AE Data Type.
|
boolean |
validate()
This method validates the AT DataType value.
|
boolean |
validate(java.lang.Object objToValidate)
This method validates the AT DataType value.
|
int |
write(IDicomStream objIDicomStream)
This method retrieves Tag values from the value and writes them onto the stream
|
clone, getIVRType, getValue, getValueMultiplicity, setIVRTypepublic long getMaxLength()
public boolean validate(java.lang.Object objToValidate)
validate in interface IDicomValuevalidate in class DicomValueobjToValidate - object value of AT DataTypepublic boolean validate()
validate in interface IDicomValuevalidate in class DicomValuepublic boolean read(IDicomStream objIDicomStream, int iLength) throws InvalidDataTypeException, java.io.IOException
read in interface IDicomValueread in class DicomValueobjIDicomStream - object of stream from which the AT datatype is to be readiLength - length of data to readInvalidDataTypeException - If data type validation fails.java.io.IOException - If Input/Output operation fails.public int write(IDicomStream objIDicomStream) throws java.io.IOException
write in interface IDicomValuewrite in class DicomValueobjIDicomStream - object of stream onto which the AT DataType is to be serializedjava.io.IOException - If Input/Output operation fails.public int getValueLength()
getValueLength in interface IDicomValuegetValueLength in class DicomValuepublic void setValue(java.lang.Object objValue)
setValue in interface IDicomValuesetValue in class DicomValueobjValue - value to be set in the AT DataTypepublic java.lang.String toString()
toString in class java.lang.Objectpublic void dumpDICOMInfo(IDicomStream objIDicomStream) throws java.io.IOException
IDicomValueobjIDicomStream - - the Stream on which the Data is to be written.java.io.IOException - - Exception is thrown indicating runtime failure of writing operation.