public class P_DATA_ValueItem
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
PDV_HEADER_LEN
The Constant PDV_HEADER_LEN.
|
static int |
PRESENTATION_CONTEXT_ID_LEN
The Constant PRESENTATION_CONTEXT_ID_LEN.
|
| Constructor and Description |
|---|
P_DATA_ValueItem()
Instantiates a new P-DATA-VALUE-ITEM.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Gets the length of P-DATA-VALUE-ITEM.
|
PDV |
getPDV()
Retrieves PDV.
|
byte |
getPresentationContextID()
Retrieves Presentation Context ID.
|
void |
parse(IDicomStream objIDicomStream)
The implementation of this method parse the P Data Value item from the
given Stream.
|
void |
serialize(IDicomStream objIDicomStream)
The implementation of this method serialize the P Data Value item from
the given Stream.
|
void |
setPDV(PDV objPDV)
Set PDV.
|
void |
setPresentationContextID(byte bytePresContextId)
Sets Presentation Context ID.
|
public static final int PRESENTATION_CONTEXT_ID_LEN
public static final int PDV_HEADER_LEN
public byte getPresentationContextID()
public void setPresentationContextID(byte bytePresContextId)
bytePresContextId - Byte Presentation Context ID.public void setPDV(PDV objPDV)
objPDV - object of PDVpublic PDV getPDV()
public void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
objIDicomStream - Stream on which the DICOM data is available.java.io.IOException - Signals that an IO Exception has occurred.ParseException - Signals that Parse Exception has occurred.public int getLength()
public void serialize(IDicomStream objIDicomStream) throws java.io.IOException
objIDicomStream - Stream on which the DICOM data is available.java.io.IOException - Signals that an IO Exception has occurred.