|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
org.dicom4j.network.protocoldataunit.support.PresentationContextItem
org.dicom4j.network.protocoldataunit.items.PresentationContextItemRQ
public class PresentationContextItemRQ
Presentation Context Item in Request (SEE DICOM PS 3.8)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
PresentationContextItemRQ(BinaryInputStream aStream)
Creates new PRESENTATION CONTEXT ITEM |
|
PresentationContextItemRQ(byte aID)
Creates a new PRESENTATION CONTEXT ITEM |
|
| Method Summary | |
|---|---|
void |
addTransferSyntax(String aTransferSyntax)
Add one Transfer Syntax |
void |
addTransferSyntax(TransferSyntax aTransferSyntax)
Add one Transfer Syntax |
void |
addTransferSyntaxes(String[] aTransfertSyntaxes)
Add many Transfer Syntaxes |
void |
addTransferSyntaxes(TransferSyntax[] aTransfertSyntaxes)
Add many Transferts Syntaxes |
String |
getAbstractSyntax()
Return the AbstractSyntax |
int |
getLength()
Return the length of the Protocol Data Unit |
String |
getName()
Return the name of the Protocol Data Unit |
String |
getTransferSyntax(int aIndex)
|
int |
getTransferSyntaxesCount()
|
ProtocolDataUnitItemType |
getType()
return the type of the Protocol Data Unit
TODO change to ProtocolType |
void |
read(BinaryInputStream aStream,
int aLength)
Read the Protocol Data Unit from a stream |
void |
setAbstractSyntax(String aAbstractSyntax)
Set the AbstractSyntax |
String |
toString()
the ProtocolDataUnit as a string |
void |
write(BinaryOutputStream aStream)
Write the Protocol Data Unit to a stream |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.PresentationContextItem |
|---|
getID, setID |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
checkStream, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PresentationContextItemRQ(BinaryInputStream aStream)
throws DicomException,
IOException
aStream -
DicomException
IOExceptionpublic PresentationContextItemRQ(byte aID)
aID - the ID| Method Detail |
|---|
public void addTransferSyntax(String aTransferSyntax)
aTransferSyntax - public void addTransferSyntax(TransferSyntax aTransferSyntax)
aTransferSyntax - the TransferSyntaxpublic void addTransferSyntaxes(String[] aTransfertSyntaxes)
aTransfertSyntaxes - public void addTransferSyntaxes(TransferSyntax[] aTransfertSyntaxes)
aTransfertSyntaxes - public String getAbstractSyntax()
public int getLength()
ProtocolDataUnit
getLength in interface ProtocolDataUnitgetLength in class ProtocolDataUnitpublic String getName()
ProtocolDataUnit
getName in interface ProtocolDataUnitgetName in class ProtocolDataUnitpublic String getTransferSyntax(int aIndex)
public int getTransferSyntaxesCount()
public ProtocolDataUnitItemType getType()
ProtocolDataUnit
return the type of the Protocol Data Unit
getType in interface ProtocolDataUnitgetType in class ProtocolDataUnit
public void read(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
ProtocolDataUnit
read in class ProtocolDataUnitDicomException
IOExceptionpublic void setAbstractSyntax(String aAbstractSyntax)
aAbstractSyntax - public String toString()
ProtocolDataUnit
toString in interface ProtocolDataUnittoString in class PresentationContextItem
public void write(BinaryOutputStream aStream)
throws DicomException,
IOException
ProtocolDataUnit
write in class ProtocolDataUnitDicomException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||