org.dicom4j.network.protocoldataunit.items
Class AbstractSyntaxItem

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.AbstractSyntaxItem
All Implemented Interfaces:
ProtocolDataUnitItem, ProtocolDataUnit

public class AbstractSyntaxItem
extends AbstractProtocolDataUnitItem

Abstract Syntax Item

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
AbstractSyntaxItem()
           
AbstractSyntaxItem(BinaryInputStream aReader)
          Deprecated.  
AbstractSyntaxItem(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

AbstractSyntaxItem

public AbstractSyntaxItem()

AbstractSyntaxItem

@Deprecated
public AbstractSyntaxItem(BinaryInputStream aReader)
                   throws DicomException,
                          IOException
Deprecated. 

Parameters:
aReader -
Throws:
DicomException
IOException

AbstractSyntaxItem

public AbstractSyntaxItem(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.