org.dicom4j.dicom.dictionary.support
Class AbstractDictionary

java.lang.Object
  extended by org.dicom4j.dicom.dictionary.support.AbstractDictionary
All Implemented Interfaces:
DicomDictionary
Direct Known Subclasses:
EmbbedDicomDictionary

public abstract class AbstractDictionary
extends Object
implements DicomDictionary

Base class to implement real DicomDictionary

Since:
0.0.0
Author:
Laurent Lecomte

Constructor Summary
AbstractDictionary()
          Creates new instance
 
Method Summary
 SopClassDictionaryItem addSOPClassItem(SopClassDictionaryItem sopClassItem)
          add a DictionarySopClass
 DicomTag addTag(DicomTag aTag)
          Add a DicomTag
 TransferSyntaxDictionaryItem addTransferSyntaxtem(TransferSyntaxDictionaryItem item)
           
 Iterator getModulesIterator()
          Return an Iterator for Module
 String getNameFromTag(DicomTag aDicomTag)
          Return the name of a Tag
 DictionarySopClass getSopClass(String aUID)
           
 Iterator<SopClassDictionaryItem> getSOPClassesIterator()
          Return an Iterator for SOPClasses
 SopClassDictionaryItem getSopClassItem(String sopClassUID)
           
 DicomTag getTag(DicomTag dicomTag)
          Return a DicomTag contains in the Dictionnary
 DicomTag getTag(int aGroup, int aElement)
          Return a DicomTag contains in the Dictionnary
 Iterator<DictionaryTag> getTagIterator()
          Return an Iterator for DicomTag
 TransferSyntaxDictionaryItem getTransferSyntaxDictionaryItem(String key)
           
 Iterator<TransferSyntaxDictionaryItem> getTransferSyntaxesIterator()
           
 boolean hasTag(DicomTag aDicomTag)
          Check if a tag is in the Dictionnary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDictionary

public AbstractDictionary()
Creates new instance

Method Detail

addTag

public DicomTag addTag(DicomTag aTag)
Description copied from interface: DicomDictionary
Add a DicomTag

Specified by:
addTag in interface DicomDictionary
Returns:

getModulesIterator

public Iterator getModulesIterator()
Description copied from interface: DicomDictionary
Return an Iterator for Module

Specified by:
getModulesIterator in interface DicomDictionary
Returns:
the Iterator

getNameFromTag

public String getNameFromTag(DicomTag aDicomTag)
Description copied from interface: DicomDictionary
Return the name of a Tag

Specified by:
getNameFromTag in interface DicomDictionary
Parameters:
aDicomTag - the tag
Returns:
the name of the tag

addSOPClassItem

public SopClassDictionaryItem addSOPClassItem(SopClassDictionaryItem sopClassItem)
Description copied from interface: DicomDictionary
add a DictionarySopClass

Specified by:
addSOPClassItem in interface DicomDictionary
Returns:

addTransferSyntaxtem

public TransferSyntaxDictionaryItem addTransferSyntaxtem(TransferSyntaxDictionaryItem item)

getSopClass

public DictionarySopClass getSopClass(String aUID)

getSopClassItem

public SopClassDictionaryItem getSopClassItem(String sopClassUID)
Specified by:
getSopClassItem in interface DicomDictionary

getTransferSyntaxDictionaryItem

public TransferSyntaxDictionaryItem getTransferSyntaxDictionaryItem(String key)

getSOPClassesIterator

public Iterator<SopClassDictionaryItem> getSOPClassesIterator()
Description copied from interface: DicomDictionary
Return an Iterator for SOPClasses

Specified by:
getSOPClassesIterator in interface DicomDictionary
Returns:
the Iterator

getTransferSyntaxesIterator

public Iterator<TransferSyntaxDictionaryItem> getTransferSyntaxesIterator()
Specified by:
getTransferSyntaxesIterator in interface DicomDictionary

getTag

public DicomTag getTag(DicomTag dicomTag)
Description copied from interface: DicomDictionary
Return a DicomTag contains in the Dictionnary

Specified by:
getTag in interface DicomDictionary
Returns:
the tag

getTag

public DicomTag getTag(int aGroup,
                       int aElement)
Description copied from interface: DicomDictionary
Return a DicomTag contains in the Dictionnary

Specified by:
getTag in interface DicomDictionary
Parameters:
aGroup - the tag's group
aElement - the tag's element
Returns:
the tag

getTagIterator

public Iterator<DictionaryTag> getTagIterator()
Description copied from interface: DicomDictionary
Return an Iterator for DicomTag

Specified by:
getTagIterator in interface DicomDictionary
Returns:
the Iterator

hasTag

public boolean hasTag(DicomTag aDicomTag)
Description copied from interface: DicomDictionary
Check if a tag is in the Dictionnary

Specified by:
hasTag in interface DicomDictionary
Parameters:
aDicomTag - the tag to search
Returns:
true if is in


Copyright © 2009 dicom4j. All Rights Reserved.