org.dicom4j.network.protocoldataunit.items
Class ApplicationContextItem

java.lang.Object
  extended by org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
      extended by org.dicom4j.network.protocoldataunit.items.support.AbstractProtocolDataUnitItem
          extended by org.dicom4j.network.protocoldataunit.items.ApplicationContextItem
All Implemented Interfaces:
ProtocolDataUnitItem, ProtocolDataUnit

public class ApplicationContextItem
extends AbstractProtocolDataUnitItem

Application Context Item (see DICOM PS 3.8)

Since:
0.0.0
Author:
Laurent Lecomte

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
ProtocolDataUnit.Types
 
Constructor Summary
ApplicationContextItem()
           
ApplicationContextItem(BinaryInputStream aStream)
          Deprecated.  
ApplicationContextItem(String aValue)
           
 
Method Summary
 ProtocolDataUnitItemType getType()
           return the type of the Protocol Data Unit TODO change to ProtocolType
 String getValue()
           
 void setValue(String aValue)
           
 void write(BinaryOutputStream aStream)
          Write the Protocol Data Unit to a stream
 
Methods inherited from class org.dicom4j.network.protocoldataunit.items.support.AbstractProtocolDataUnitItem
getLength, read, toString
 
Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
checkStream, getName, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationContextItem

public ApplicationContextItem()

ApplicationContextItem

public ApplicationContextItem(BinaryInputStream aStream)
                       throws DicomException,
                              IOException
Deprecated. 

Throws:
DicomException
IOException

ApplicationContextItem

public ApplicationContextItem(String aValue)
Method Detail

getType

public ProtocolDataUnitItemType getType()
Description copied from class: ProtocolDataUnit

return the type of the Protocol Data Unit

TODO change to ProtocolType

Specified by:
getType in interface ProtocolDataUnit
Specified by:
getType in class ProtocolDataUnit
Returns:
the type

getValue

public String getValue()
Overrides:
getValue in class AbstractProtocolDataUnitItem

setValue

public void setValue(String aValue)
Overrides:
setValue in class AbstractProtocolDataUnitItem

write

public void write(BinaryOutputStream aStream)
           throws DicomException,
                  IOException
Description copied from class: ProtocolDataUnit
Write the Protocol Data Unit to a stream

Overrides:
write in class AbstractProtocolDataUnitItem
Throws:
DicomException
IOException


Copyright © 2009 dicom4j. All Rights Reserved.