|
|||||||||
| 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.PresentationContextItemAC
public class PresentationContextItemAC
Presentation Context Item in AC
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
PresentationContextItemAC(BinaryInputStream aStream)
|
|
PresentationContextItemAC(byte aID,
byte aReason)
|
|
| Method Summary | |
|---|---|
int |
getLength()
Return the length of the Protocol Data Unit |
String |
getName()
Return the name of the Protocol Data Unit |
byte |
getReason()
|
String |
getReasonAsString()
|
String |
getTransfertSyntaxUID()
|
ProtocolDataUnitItemType |
getType()
return the type of the Protocol Data Unit
TODO change to ProtocolType |
boolean |
isAccepted()
|
static PresentationContextItemAC |
newAbstractSyntaxNotSupportedPresentationContext(byte presentationID,
String transfertSyntax)
|
static PresentationContextItemAC |
newAcceptancePresentationContext(byte presentationID,
String transfertSyntax)
|
void |
read(BinaryInputStream aStream,
int aLength)
Read the Protocol Data Unit from a stream |
void |
setTransfertSyntax(String aTransfertSyntax)
|
void |
setTransfertSyntax(TransferSyntax aTransfertSyntax)
|
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 PresentationContextItemAC(BinaryInputStream aStream)
throws DicomException,
IOException
DicomException
IOException
public PresentationContextItemAC(byte aID,
byte aReason)
| Method Detail |
|---|
public int getLength()
ProtocolDataUnit
getLength in interface ProtocolDataUnitgetLength in class ProtocolDataUnitpublic String getName()
ProtocolDataUnit
getName in interface ProtocolDataUnitgetName in class ProtocolDataUnitpublic byte getReason()
public String getReasonAsString()
public String getTransfertSyntaxUID()
public ProtocolDataUnitItemType getType()
ProtocolDataUnit
return the type of the Protocol Data Unit
getType in interface ProtocolDataUnitgetType in class ProtocolDataUnitpublic boolean isAccepted()
public void read(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
ProtocolDataUnit
read in class ProtocolDataUnitDicomException
IOExceptionpublic void setTransfertSyntax(String aTransfertSyntax)
public void setTransfertSyntax(TransferSyntax aTransfertSyntax)
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
public static PresentationContextItemAC newAcceptancePresentationContext(byte presentationID,
String transfertSyntax)
public static PresentationContextItemAC newAbstractSyntaxNotSupportedPresentationContext(byte presentationID,
String transfertSyntax)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||