org.dcm4che2.data
Class BasicDicomObject

java.lang.Object
  extended by org.dcm4che2.data.BasicDicomObject
All Implemented Interfaces:
java.io.Serializable, DicomObject

public class BasicDicomObject
extends java.lang.Object

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.dcm4che2.data.DicomObject
DicomObject.Visitor
 
Constructor Summary
BasicDicomObject()
           
BasicDicomObject(DicomObject defaults)
           
BasicDicomObject(DicomObject defaults, int capacity)
           
BasicDicomObject(int capacity)
           
 
Method Summary
 boolean accept(DicomObject.Visitor visitor)
          Calls @link{Visitor#visit} for each element in this Dataset.
 void add(DicomElement a)
           
 boolean bigEndian()
           
 void bigEndian(boolean bigEndian)
           
 boolean cacheGet()
           
 void cacheGet(boolean cacheGet)
           
 boolean cachePut()
           
 void cachePut(boolean cachePut)
           
 void clear()
          Removes all elements from this Dicom Object.
 DicomObject command()
           
 java.util.Iterator<DicomElement> commandIterator()
          Returns an iterator over Command elements (0000, eeee) in this Dicom Object.
 boolean contains(int tag)
          Returns true, if this Dicom Object contains the specified Element.
 boolean containsAll(DicomObject keys)
          Returns true if this Dicom Object contains all of the elements in the specified Dicom Object.
 boolean containsValue(int tag)
          Returns true, if this Dicom Object contains the specified Element with a value length > 0.
 void copyTo(DicomObject dest)
           
 DicomObject dataset()
           
 java.util.Iterator<DicomElement> datasetIterator()
          Returns an iterator over Data elements (group tag > 2) in this Dicom Object.
 boolean equals(java.lang.Object o)
           
 DicomObject exclude(int[] tags)
           
 DicomObject excludePrivate()
          Note that this method does not remove private attributes from this DicomObject, rather, it returns a view of the DicomObject without private attributes.
 DicomObject fileMetaInfo()
           
 java.util.Iterator<DicomElement> fileMetaInfoIterator()
          Returns an iterator over File Meta Information elements (0002, eeee) in this Dicom Object.
 DicomElement get(int tag)
           
 DicomElement get(int[] tagPath)
           
 DicomElement get(int[] tagPath, VR vr)
           
 DicomElement get(int tag, VR vr)
           
 byte[] getBytes(int tag)
           
 byte[] getBytes(int[] tagPath)
           
 byte[] getBytes(int[] tagPath, boolean bigEndian)
           
 byte[] getBytes(int tag, boolean bigEndian)
           
 java.util.Date getDate(int tag)
           
 java.util.Date getDate(int[] tagPath)
           
 java.util.Date getDate(int[] tagPath, java.util.Date defVal)
           
 java.util.Date getDate(int[] itemPath, int daTag, int tmTag)
           
 java.util.Date getDate(int[] itemPath, int daTag, int tmTag, java.util.Date defVal)
           
 java.util.Date getDate(int[] tagPath, VR vr)
           
 java.util.Date getDate(int[] tagPath, VR vr, java.util.Date defVal)
           
 java.util.Date getDate(int tag, java.util.Date defVal)
           
 java.util.Date getDate(int daTag, int tmTag)
           
 java.util.Date getDate(int daTag, int tmTag, java.util.Date defVal)
           
 java.util.Date getDate(int tag, VR vr)
           
 java.util.Date getDate(int tag, VR vr, java.util.Date defVal)
           
 DateRange getDateRange(int tag)
           
 DateRange getDateRange(int[] tagPath)
           
 DateRange getDateRange(int[] tagPath, DateRange defVal)
           
 DateRange getDateRange(int[] itemPath, int daTag, int tmTag)
           
 DateRange getDateRange(int[] itemPath, int daTag, int tmTag, DateRange defVal)
           
 DateRange getDateRange(int[] tagPath, VR vr)
           
 DateRange getDateRange(int[] tagPath, VR vr, DateRange defVal)
           
 DateRange getDateRange(int tag, DateRange defVal)
           
 DateRange getDateRange(int daTag, int tmTag)
           
 DateRange getDateRange(int daTag, int tmTag, DateRange defVal)
           
 DateRange getDateRange(int tag, VR vr)
           
 DateRange getDateRange(int tag, VR vr, DateRange defVal)
           
 java.util.Date[] getDates(int tag)
           
 java.util.Date[] getDates(int[] tagPath)
           
 java.util.Date[] getDates(int[] tagPath, java.util.Date[] defVal)
           
 java.util.Date[] getDates(int[] itemPath, int daTag, int tmTag)
           
 java.util.Date[] getDates(int[] itemPath, int daTag, int tmTag, java.util.Date[] defVal)
           
 java.util.Date[] getDates(int[] tagPath, VR vr)
           
 java.util.Date[] getDates(int[] tagPath, VR vr, java.util.Date[] defVal)
           
 java.util.Date[] getDates(int tag, java.util.Date[] defVal)
           
 java.util.Date[] getDates(int daTag, int tmTag)
           
 java.util.Date[] getDates(int daTag, int tmTag, java.util.Date[] defVal)
           
 java.util.Date[] getDates(int tag, VR vr)
           
 java.util.Date[] getDates(int tag, VR vr, java.util.Date[] defVal)
           
 DicomObject getDefaults()
           
 double getDouble(int tag)
           
 double getDouble(int[] tagPath)
           
 double getDouble(int[] tagPath, double defVal)
           
 double getDouble(int[] tagPath, VR vr)
           
 double getDouble(int[] tagPath, VR vr, double defVal)
           
 double getDouble(int tag, double defVal)
           
 double getDouble(int tag, VR vr)
           
 double getDouble(int tag, VR vr, double defVal)
           
 double[] getDoubles(int tag)
           
 double[] getDoubles(int[] tagPath)
           
 double[] getDoubles(int[] tagPath, double[] defVal)
           
 double[] getDoubles(int[] tagPath, VR vr)
           
 double[] getDoubles(int[] tagPath, VR vr, double[] defVal)
           
 double[] getDoubles(int tag, double[] defVal)
           
 double[] getDoubles(int tag, VR vr)
           
 double[] getDoubles(int tag, VR vr, double[] defVal)
           
 float getFloat(int tag)
           
 float getFloat(int[] tagPath)
           
 float getFloat(int[] tagPath, float defVal)
           
 float getFloat(int[] tagPath, VR vr)
           
 float getFloat(int[] tagPath, VR vr, float defVal)
           
 float getFloat(int tag, float defVal)
           
 float getFloat(int tag, VR vr)
           
 float getFloat(int tag, VR vr, float defVal)
           
 float[] getFloats(int tag)
           
 float[] getFloats(int[] tagPath)
           
 float[] getFloats(int[] tagPath, float[] defVal)
           
 float[] getFloats(int[] tagPath, VR vr)
           
 float[] getFloats(int[] tagPath, VR vr, float[] defVal)
           
 float[] getFloats(int tag, float[] defVal)
           
 float[] getFloats(int tag, VR vr)
           
 float[] getFloats(int tag, VR vr, float[] defVal)
           
 int getInt(int tag)
           
 int getInt(int[] tagPath)
           
 int getInt(int[] tagPath, int defVal)
           
 int getInt(int[] tagPath, VR vr)
           
 int getInt(int[] tagPath, VR vr, int defVal)
           
 int getInt(int tag, int defVal)
           
 int getInt(int tag, VR vr)
           
 int getInt(int tag, VR vr, int defVal)
           
 int[] getInts(int tag)
           
 int[] getInts(int[] tagPath)
           
 int[] getInts(int[] tagPath, int[] defVal)
           
 int[] getInts(int[] tagPath, VR vr)
           
 int[] getInts(int[] tagPath, VR vr, int[] defVal)
           
 int[] getInts(int tag, int[] defVal)
           
 int[] getInts(int tag, VR vr)
           
 int[] getInts(int tag, VR vr, int[] defVal)
           
 long getItemOffset()
          Returns the offset of the Sequence Item containing this Nested Data Set in the Dicom Stream from/to which the Data Set was read/written, or -1 if this is not a Nested Data Set or it was not (yet) read from/written to a Dicom Stream.
 int getItemPosition()
          Returns zero-based position of this Nested Data in the Sequence Element, or -1 if this is not a Nested Data Set.
 DicomObject getNestedDicomObject(int tag)
           
 DicomObject getNestedDicomObject(int[] itemPath)
           
 DicomObject getParent()
          Returns the Data Set containing this Data Set in a Sequence Element, or null if this is not a nested Data Set.
 java.lang.String getPrivateCreator(int tag)
          Returns private creator identifier, for given private tag.
 DicomObject getRoot()
           
 short[] getShorts(int tag)
           
 short[] getShorts(int[] tagPath)
           
 short[] getShorts(int[] tagPath, short[] defVal)
           
 short[] getShorts(int[] tagPath, VR vr)
           
 short[] getShorts(int[] tagPath, VR vr, short[] defVal)
           
 short[] getShorts(int tag, short[] defVal)
           
 short[] getShorts(int tag, VR vr)
           
 short[] getShorts(int tag, VR vr, short[] defVal)
           
 SpecificCharacterSet getSpecificCharacterSet()
          Returns the Specific Character Set defined by Attribute Specific Character Set (0008,0005) of this or the root Data Set, if this is a Nested Data Set containing in a Sequence Element.
 java.lang.String getString(int tag)
           
 java.lang.String getString(int[] tagPath)
           
 java.lang.String getString(int[] tagPath, java.lang.String defVal)
           
 java.lang.String getString(int[] tagPath, VR vr)
           
 java.lang.String getString(int[] tagPath, VR vr, java.lang.String defVal)
           
 java.lang.String getString(int tag, java.lang.String defVal)
           
 java.lang.String getString(int tag, VR vr)
           
 java.lang.String getString(int tag, VR vr, java.lang.String defVal)
           
 java.lang.String[] getStrings(int tag)
           
 java.lang.String[] getStrings(int[] tagPath)
           
 java.lang.String[] getStrings(int[] tagPath, java.lang.String[] defVal)
           
 java.lang.String[] getStrings(int[] tagPath, VR vr)
           
 java.lang.String[] getStrings(int[] tagPath, VR vr, java.lang.String[] defVal)
           
 java.lang.String[] getStrings(int tag, java.lang.String[] defVal)
           
 java.lang.String[] getStrings(int tag, VR vr)
           
 java.lang.String[] getStrings(int tag, VR vr, java.lang.String[] defVal)
           
 int hashCode()
           
 void initFileMetaInformation(java.lang.String tsuid)
           
 void initFileMetaInformation(java.lang.String cuid, java.lang.String iuid, java.lang.String tsuid)
           
 boolean isEmpty()
          Returns true if this Dicom Object contains no elements.
 boolean isRoot()
          Returns true if this is not a nested Data Set.
 java.util.Iterator<DicomElement> iterator()
          Returns an iterator over all elements in this Dicom Object.
 java.util.Iterator<DicomElement> iterator(int fromTag, int toTag)
          Returns an iterator over elements in the given range in this Dicom Object.
 boolean matches(DicomObject keys, boolean ignoreCaseOfPN)
           
 java.lang.String nameOf(int tag)
          Returns name of Attribute with specified (private) tag or
 DicomElement putBytes(int[] tagPath, VR vr, byte[] val)
           
 DicomElement putBytes(int[] tagPath, VR vr, byte[] val, boolean bigEndian)
           
 DicomElement putBytes(int tag, VR vr, byte[] val)
           
 DicomElement putBytes(int tag, VR vr, byte[] val, boolean bigEndian)
           
 DicomElement putDate(int[] tagPath, VR vr, java.util.Date val)
           
 DicomElement putDate(int tag, VR vr, java.util.Date val)
           
 DicomElement putDateRange(int[] tagPath, VR vr, DateRange val)
           
 DicomElement putDateRange(int tag, VR vr, DateRange val)
           
 DicomElement putDates(int[] tagPath, VR vr, java.util.Date[] val)
           
 DicomElement putDates(int tag, VR vr, java.util.Date[] val)
           
 DicomElement putDouble(int[] tagPath, VR vr, double val)
           
 DicomElement putDouble(int tag, VR vr, double val)
           
 DicomElement putDoubles(int[] tagPath, VR vr, double[] val)
           
 DicomElement putDoubles(int tag, VR vr, double[] val)
           
 DicomElement putFloat(int[] tagPath, VR vr, float val)
           
 DicomElement putFloat(int tag, VR vr, float val)
           
 DicomElement putFloats(int[] tagPath, VR vr, float[] val)
           
 DicomElement putFloats(int tag, VR vr, float[] val)
           
 DicomElement putFragments(int[] tagPath, VR vr, boolean bigEndian)
           
 DicomElement putFragments(int[] tagPath, VR vr, boolean bigEndian, int capacity)
           
 DicomElement putFragments(int tag, VR vr, boolean bigEndian)
           
 DicomElement putFragments(int tag, VR vr, boolean bigEndian, int capacity)
           
 DicomElement putInt(int[] tagPath, VR vr, int val)
           
 DicomElement putInt(int tag, VR vr, int val)
           
 DicomElement putInts(int[] tagPath, VR vr, int[] val)
           
 DicomElement putInts(int tag, VR vr, int[] val)
           
 DicomElement putNestedDicomObject(int[] tagPath, DicomObject item)
           
 DicomElement putNestedDicomObject(int tag, DicomObject item)
           
 DicomElement putNull(int[] tagPath, VR vr)
           
 DicomElement putNull(int tag, VR vr)
           
 DicomElement putSequence(int tag)
           
 DicomElement putSequence(int[] tagPath)
           
 DicomElement putSequence(int[] tagPath, int capacity)
           
 DicomElement putSequence(int tag, int capacity)
           
 DicomElement putShorts(int[] tagPath, VR vr, short[] val)
           
 DicomElement putShorts(int tag, VR vr, short[] val)
           
 DicomElement putString(int[] tagPath, VR vr, java.lang.String val)
           
 DicomElement putString(int tag, VR vr, java.lang.String val)
           
 DicomElement putStrings(int[] tagPath, VR vr, java.lang.String[] val)
           
 DicomElement putStrings(int tag, VR vr, java.lang.String[] val)
           
 DicomElement remove(int tag)
           
 DicomElement remove(int[] tagPath)
           
 int resolveTag(int privateTag, java.lang.String privateCreator)
          Resolve existing private tag.
 int resolveTag(int tag, java.lang.String creator, boolean reserve)
          Resolves private tag.
 void serializeElements(java.io.ObjectOutputStream oos)
           
 void setDefaults(DicomObject defaults)
           
 void setItemOffset(long itemOffset)
          Sets the offset of the Sequence Item encoding this Nested Data Set in a Dicom Stream.
 void setItemPosition(int itemPos)
          Sets zero-based position of this Nested Data in the Sequence Element.
 void setParent(DicomObject parent)
           
 void shareElements()
           
 int size()
          Returns number of elements in this Dicom Object.
 DicomObject subSet(DicomObject filter)
           
 DicomObject subSet(int[] tags)
           
 DicomObject subSet(int fromTag, int toTag)
           
 java.lang.String toString()
           
 int toStringBuffer(java.lang.StringBuffer sb, DicomObjectToStringParam param)
           
 int vm(int tag)
          Returns Number of Values of the specified Element or -1 if there is no such Element in this Dicom Object.
 VR vrOf(int tag)
          Returns Value Representation of Attribute with specified (private) tag or @link{VR#UN} if no entry was found in configured @link{VRMap}s.
protected  java.lang.Object writeReplace()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicDicomObject

public BasicDicomObject()

BasicDicomObject

public BasicDicomObject(DicomObject defaults)

BasicDicomObject

public BasicDicomObject(int capacity)

BasicDicomObject

public BasicDicomObject(DicomObject defaults,
                        int capacity)
Method Detail

getDefaults

public final DicomObject getDefaults()

setDefaults

public final void setDefaults(DicomObject defaults)

clear

public void clear()
Description copied from interface: DicomObject
Removes all elements from this Dicom Object.


cacheGet

public final boolean cacheGet()
Returns:

cacheGet

public final void cacheGet(boolean cacheGet)

cachePut

public final boolean cachePut()
Returns:

cachePut

public final void cachePut(boolean cachePut)

bigEndian

public final boolean bigEndian()
Returns:

bigEndian

public final void bigEndian(boolean bigEndian)

resolveTag

public int resolveTag(int privateTag,
                      java.lang.String privateCreator)
Description copied from interface: DicomObject
Resolve existing private tag. Invokes

Parameters:
privateTag - (group, element) as 8 byte integer: ggggeeee.
privateCreator - private creator identifier
Returns:
resolved tag or -1, if no tags are reserved for privateCreator.

shareElements

public void shareElements()

iterator

public java.util.Iterator<DicomElement> iterator()
Description copied from interface: DicomObject
Returns an iterator over all elements in this Dicom Object.

Returns:
an Iterator over all elements in this Dicom Object.

iterator

public java.util.Iterator<DicomElement> iterator(int fromTag,
                                                 int toTag)
Description copied from interface: DicomObject
Returns an iterator over elements in the given range in this Dicom Object.

Parameters:
fromTag - minimal (group, element) as 8 byte integer: ggggeeee, of first element included.
toTag - maximal (group, element) as 8 byte integer: ggggeeee, of last element included.
Returns:
an Iterator over elements in this Dicom Object.

getParent

public final DicomObject getParent()
Description copied from interface: DicomObject
Returns the Data Set containing this Data Set in a Sequence Element, or null if this is not a nested Data Set.

Returns:
the Data Set containing this Data Set in a Sequence Element, or null if this is not a nested Data Set.

setParent

public final void setParent(DicomObject parent)

getRoot

public DicomObject getRoot()
Returns:
the root Data Set, if this Data Set is contained within a Sequence Element of another Data Set, otherwise this.

getItemPosition

public final int getItemPosition()
Description copied from interface: DicomObject
Returns zero-based position of this Nested Data in the Sequence Element, or -1 if this is not a Nested Data Set.

Returns:
zero-based position of this Nested Data in the Sequence Element Set, or -1 if this is not a Nested Data Set.

setItemPosition

public final void setItemPosition(int itemPos)
Description copied from interface: DicomObject
Sets zero-based position of this Nested Data in the Sequence Element. Typically only internally used.


getItemOffset

public final long getItemOffset()
Description copied from interface: DicomObject
Returns the offset of the Sequence Item containing this Nested Data Set in the Dicom Stream from/to which the Data Set was read/written, or -1 if this is not a Nested Data Set or it was not (yet) read from/written to a Dicom Stream.

Returns:
the offset of the Sequence Item containing this Nested Data Set in the Dicom Stream, or -1.

setItemOffset

public final void setItemOffset(long itemOffset)
Description copied from interface: DicomObject
Sets the offset of the Sequence Item encoding this Nested Data Set in a Dicom Stream. Typically only internally used.

Parameters:
itemOffset - of the Sequence Item containing this Nested Data Set in a Dicom Stream.

getSpecificCharacterSet

public SpecificCharacterSet getSpecificCharacterSet()
Description copied from interface: DicomObject
Returns the Specific Character Set defined by Attribute Specific Character Set (0008,0005) of this or the root Data Set, if this is a Nested Data Set containing in a Sequence Element. Returns null if Attribute Specific Character Set (0008,0005) is not present.

Returns:
the Specific Character Set defined by Attribute Specific Character Set (0008,0005) or null if the Attribute is not present.

vrOf

public VR vrOf(int tag)
Description copied from interface: DicomObject
Returns Value Representation of Attribute with specified (private) tag or @link{VR#UN} if no entry was found in configured @link{VRMap}s.

Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:
Value Representation of Attribute with specified (private) tag.

nameOf

public java.lang.String nameOf(int tag)
Description copied from interface: DicomObject
Returns name of Attribute with specified (private) tag or

Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:
name of Attribute with specified (private) tag.

getPrivateCreator

public java.lang.String getPrivateCreator(int tag)
Description copied from interface: DicomObject
Returns private creator identifier, for given private tag.

Parameters:
tag - (group, element) of private tag as 8 byte integer: ggggeeee
Returns:
Returns private creator identifier, for given private tag.

resolveTag

public int resolveTag(int tag,
                      java.lang.String creator,
                      boolean reserve)
Description copied from interface: DicomObject
Resolves private tag. If the group number of the specified tag is odd (= private tag) and privateCreator != null, searches for the first private creator data element in (gggg,0010-00FF) which matches privateCreator, and returns ggggEEee with EE the element number of the matching private creator data element and ee the two lower bytes of the element number of the specified tag.> If no matching private creator data element in (gggg,0010-00FF) is found, and reserve=true, the specified privateCreator is inserted in the first unused private creator data element, and ggggEEee with EE the element number the new inserted private creator data element is returned. If reserve=false, -1 is returned.
If the group number of the specified tag is even (= standard tag) or privateCreator == null, tag is returned unmodified.

Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
creator - private creator identifier
Returns:
resolved tag or -1, if no tags are reserved for privateCreator and reserve=false.

isEmpty

public boolean isEmpty()
Description copied from interface: DicomObject
Returns true if this Dicom Object contains no elements.

Specified by:
isEmpty in interface DicomObject
Returns:
true if this Dicom Object contains no elements.

size

public int size()
Description copied from interface: DicomObject
Returns number of elements in this Dicom Object.

Specified by:
size in interface DicomObject
Returns:
number of elements in this Dicom Object.

contains

public boolean contains(int tag)
Description copied from interface: DicomObject
Returns true, if this Dicom Object contains the specified Element.

Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:
true, if this DicomObject contains the specified Element.

get

public DicomElement get(int tag)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

remove

public DicomElement remove(int tag)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

accept

public boolean accept(DicomObject.Visitor visitor)
Description copied from interface: DicomObject
Calls @link{Visitor#visit} for each element in this Dataset. Returns false, if @link{Visitor#visit} returns false for any element.

Parameters:
visitor - Visitor object, which method @link{Visitor#visit} is called for each element in this Dataset.
Returns:
true if @link{Visitor#visit} returns true for all elements of this dataset, false if @link{Visitor#visit} returns false for any element.

add

public void add(DicomElement a)

putNull

public DicomElement putNull(int tag,
                            VR vr)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putBytes

public DicomElement putBytes(int tag,
                             VR vr,
                             byte[] val,
                             boolean bigEndian)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putNestedDicomObject

public DicomElement putNestedDicomObject(int tag,
                                         DicomObject item)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putShorts

public DicomElement putShorts(int tag,
                              VR vr,
                              short[] val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putInt

public DicomElement putInt(int tag,
                           VR vr,
                           int val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putInts

public DicomElement putInts(int tag,
                            VR vr,
                            int[] val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putFloat

public DicomElement putFloat(int tag,
                             VR vr,
                             float val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putFloats

public DicomElement putFloats(int tag,
                              VR vr,
                              float[] val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putDouble

public DicomElement putDouble(int tag,
                              VR vr,
                              double val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putDoubles

public DicomElement putDoubles(int tag,
                               VR vr,
                               double[] val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putString

public DicomElement putString(int tag,
                              VR vr,
                              java.lang.String val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putStrings

public DicomElement putStrings(int tag,
                               VR vr,
                               java.lang.String[] val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putDate

public DicomElement putDate(int tag,
                            VR vr,
                            java.util.Date val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putDates

public DicomElement putDates(int tag,
                             VR vr,
                             java.util.Date[] val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putDateRange

public DicomElement putDateRange(int tag,
                                 VR vr,
                                 DateRange val)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putSequence

public DicomElement putSequence(int tag)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putSequence

public DicomElement putSequence(int tag,
                                int capacity)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putFragments

public DicomElement putFragments(int tag,
                                 VR vr,
                                 boolean bigEndian)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

putFragments

public DicomElement putFragments(int tag,
                                 VR vr,
                                 boolean bigEndian,
                                 int capacity)
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

initFileMetaInformation

public void initFileMetaInformation(java.lang.String tsuid)

initFileMetaInformation

public void initFileMetaInformation(java.lang.String cuid,
                                    java.lang.String iuid,
                                    java.lang.String tsuid)

writeReplace

protected java.lang.Object writeReplace()

serializeElements

public void serializeElements(java.io.ObjectOutputStream oos)
                       throws java.io.IOException
Specified by:
serializeElements in interface DicomObject
Throws:
java.io.IOException

copyTo

public void copyTo(DicomObject dest)
Specified by:
copyTo in interface DicomObject

containsAll

public boolean containsAll(DicomObject keys)
Description copied from interface: DicomObject
Returns true if this Dicom Object contains all of the elements in the specified Dicom Object.

Specified by:
containsAll in interface DicomObject
Parameters:
keys - Dicom Object to be checked for containment in this Dicom Object.
Returns:
true if this Dicom Object contains all of the elements in the specified collection

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toStringBuffer

public int toStringBuffer(java.lang.StringBuffer sb,
                          DicomObjectToStringParam param)
Specified by:
toStringBuffer in interface DicomObject
Returns:

matches

public boolean matches(DicomObject keys,
                       boolean ignoreCaseOfPN)
Specified by:
matches in interface DicomObject
Returns:

isRoot

public boolean isRoot()
Description copied from interface: DicomObject
Returns true if this is not a nested Data Set.

Specified by:
isRoot in interface DicomObject
Returns:
true if this is not a nested Data Set.

commandIterator

public java.util.Iterator<DicomElement> commandIterator()
Description copied from interface: DicomObject
Returns an iterator over Command elements (0000, eeee) in this Dicom Object.

Specified by:
commandIterator in interface DicomObject
Returns:
an Iterator over Command elements (0000, eeee) in this Dicom Object.

fileMetaInfoIterator

public java.util.Iterator<DicomElement> fileMetaInfoIterator()
Description copied from interface: DicomObject
Returns an iterator over File Meta Information elements (0002, eeee) in this Dicom Object.

Specified by:
fileMetaInfoIterator in interface DicomObject
Returns:
an Iterator over File Meta Information elements (0002, eeee) in this Dicom Object.

datasetIterator

public java.util.Iterator<DicomElement> datasetIterator()
Description copied from interface: DicomObject
Returns an iterator over Data elements (group tag > 2) in this Dicom Object.

Specified by:
datasetIterator in interface DicomObject
Returns:
an Iterator over Data elements in this Dicom Object.

command

public DicomObject command()
Specified by:
command in interface DicomObject
Returns:

dataset

public DicomObject dataset()
Specified by:
dataset in interface DicomObject
Returns:

fileMetaInfo

public DicomObject fileMetaInfo()
Specified by:
fileMetaInfo in interface DicomObject
Returns:

exclude

public DicomObject exclude(int[] tags)
Specified by:
exclude in interface DicomObject
Returns:

excludePrivate

public DicomObject excludePrivate()
Description copied from interface: DicomObject
Note that this method does not remove private attributes from this DicomObject, rather, it returns a view of the DicomObject without private attributes. You you may store this view to a file.

Specified by:
excludePrivate in interface DicomObject
Returns:
a new DicomObject without private attributes.
See Also:
DicomObject.excludePrivate()

subSet

public DicomObject subSet(DicomObject filter)
Specified by:
subSet in interface DicomObject
Returns:

subSet

public DicomObject subSet(int fromTag,
                          int toTag)
Specified by:
subSet in interface DicomObject
Returns:

subSet

public DicomObject subSet(int[] tags)
Specified by:
subSet in interface DicomObject
Returns:

vm

public int vm(int tag)
Description copied from interface: DicomObject
Returns Number of Values of the specified Element or -1 if there is no such Element in this Dicom Object.

Specified by:
vm in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:
Number of Values of the specified Element or -1 if there is no such Element in this Dicom Object.

containsValue

public boolean containsValue(int tag)
Description copied from interface: DicomObject
Returns true, if this Dicom Object contains the specified Element with a value length > 0.

Specified by:
containsValue in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:
true, if this DicomObject contains the specified Element with a value length > 0.

getBytes

public byte[] getBytes(int tag)
Specified by:
getBytes in interface DicomObject

getBytes

public byte[] getBytes(int tag,
                       boolean bigEndian)
Specified by:
getBytes in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getNestedDicomObject

public DicomObject getNestedDicomObject(int tag)
Specified by:
getNestedDicomObject in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getInt

public int getInt(int tag)
Specified by:
getInt in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getInt

public int getInt(int tag,
                  VR vr)
Specified by:
getInt in interface DicomObject

getInt

public int getInt(int tag,
                  int defVal)
Specified by:
getInt in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
defVal - TODO
Returns:

getInt

public int getInt(int tag,
                  VR vr,
                  int defVal)
Specified by:
getInt in interface DicomObject

getInts

public int[] getInts(int tag)
Specified by:
getInts in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getInts

public int[] getInts(int tag,
                     VR vr)
Specified by:
getInts in interface DicomObject

getInts

public int[] getInts(int tag,
                     int[] defVal)
Specified by:
getInts in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getInts

public int[] getInts(int tag,
                     VR vr,
                     int[] defVal)
Specified by:
getInts in interface DicomObject

getShorts

public short[] getShorts(int tag)
Specified by:
getShorts in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getShorts

public short[] getShorts(int tag,
                         VR vr)
Specified by:
getShorts in interface DicomObject

getShorts

public short[] getShorts(int tag,
                         short[] defVal)
Specified by:
getShorts in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getShorts

public short[] getShorts(int tag,
                         VR vr,
                         short[] defVal)
Specified by:
getShorts in interface DicomObject

getFloat

public float getFloat(int tag)
Specified by:
getFloat in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getFloat

public float getFloat(int tag,
                      VR vr)
Specified by:
getFloat in interface DicomObject

getFloat

public float getFloat(int tag,
                      float defVal)
Specified by:
getFloat in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getFloat

public float getFloat(int tag,
                      VR vr,
                      float defVal)
Specified by:
getFloat in interface DicomObject

getFloats

public float[] getFloats(int tag)
Specified by:
getFloats in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getFloats

public float[] getFloats(int tag,
                         VR vr)
Specified by:
getFloats in interface DicomObject

getFloats

public float[] getFloats(int tag,
                         float[] defVal)
Specified by:
getFloats in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getFloats

public float[] getFloats(int tag,
                         VR vr,
                         float[] defVal)
Specified by:
getFloats in interface DicomObject

getDouble

public double getDouble(int tag)
Specified by:
getDouble in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDouble

public double getDouble(int tag,
                        VR vr)
Specified by:
getDouble in interface DicomObject

getDouble

public double getDouble(int tag,
                        double defVal)
Specified by:
getDouble in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDouble

public double getDouble(int tag,
                        VR vr,
                        double defVal)
Specified by:
getDouble in interface DicomObject

getDoubles

public double[] getDoubles(int tag)
Specified by:
getDoubles in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDoubles

public double[] getDoubles(int tag,
                           VR vr)
Specified by:
getDoubles in interface DicomObject

getDoubles

public double[] getDoubles(int tag,
                           double[] defVal)
Specified by:
getDoubles in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDoubles

public double[] getDoubles(int tag,
                           VR vr,
                           double[] defVal)
Specified by:
getDoubles in interface DicomObject

getString

public java.lang.String getString(int tag)
Specified by:
getString in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getString

public java.lang.String getString(int tag,
                                  VR vr)
Specified by:
getString in interface DicomObject

getString

public java.lang.String getString(int tag,
                                  java.lang.String defVal)
Specified by:
getString in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getString

public java.lang.String getString(int tag,
                                  VR vr,
                                  java.lang.String defVal)
Specified by:
getString in interface DicomObject

getStrings

public java.lang.String[] getStrings(int tag)
Specified by:
getStrings in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getStrings

public java.lang.String[] getStrings(int tag,
                                     VR vr)
Specified by:
getStrings in interface DicomObject

getStrings

public java.lang.String[] getStrings(int tag,
                                     java.lang.String[] defVal)
Specified by:
getStrings in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getStrings

public java.lang.String[] getStrings(int tag,
                                     VR vr,
                                     java.lang.String[] defVal)
Specified by:
getStrings in interface DicomObject

getDate

public java.util.Date getDate(int tag)
Specified by:
getDate in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDate

public java.util.Date getDate(int tag,
                              VR vr)
Specified by:
getDate in interface DicomObject

getDate

public java.util.Date getDate(int tag,
                              java.util.Date defVal)
Specified by:
getDate in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDate

public java.util.Date getDate(int tag,
                              VR vr,
                              java.util.Date defVal)
Specified by:
getDate in interface DicomObject

getDates

public java.util.Date[] getDates(int tag)
Specified by:
getDates in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDates

public java.util.Date[] getDates(int tag,
                                 VR vr)
Specified by:
getDates in interface DicomObject

getDates

public java.util.Date[] getDates(int tag,
                                 java.util.Date[] defVal)
Specified by:
getDates in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDates

public java.util.Date[] getDates(int tag,
                                 VR vr,
                                 java.util.Date[] defVal)
Specified by:
getDates in interface DicomObject

getDateRange

public DateRange getDateRange(int tag)
Specified by:
getDateRange in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDateRange

public DateRange getDateRange(int tag,
                              VR vr)
Specified by:
getDateRange in interface DicomObject

getDateRange

public DateRange getDateRange(int tag,
                              DateRange defVal)
Specified by:
getDateRange in interface DicomObject
Parameters:
tag - (group, element) as 8 byte integer: ggggeeee.
Returns:

getDateRange

public DateRange getDateRange(int tag,
                              VR vr,
                              DateRange defVal)
Specified by:
getDateRange in interface DicomObject

getDate

public java.util.Date getDate(int daTag,
                              int tmTag)
Specified by:
getDate in interface DicomObject
Returns:

getDate

public java.util.Date getDate(int daTag,
                              int tmTag,
                              java.util.Date defVal)
Specified by:
getDate in interface DicomObject
Returns:

getDates

public java.util.Date[] getDates(int daTag,
                                 int tmTag)
Specified by:
getDates in interface DicomObject
Returns:

getDates

public java.util.Date[] getDates(int daTag,
                                 int tmTag,
                                 java.util.Date[] defVal)
Specified by:
getDates in interface DicomObject
Returns:

getDateRange

public DateRange getDateRange(int daTag,
                              int tmTag)
Specified by:
getDateRange in interface DicomObject
Returns:

getDateRange

public DateRange getDateRange(int daTag,
                              int tmTag,
                              DateRange defVal)
Specified by:
getDateRange in interface DicomObject
Returns:

get

public DicomElement get(int[] tagPath)
Specified by:
get in interface DicomObject
Returns:

get

public DicomElement get(int[] tagPath,
                        VR vr)
Specified by:
get in interface DicomObject

remove

public DicomElement remove(int[] tagPath)
Specified by:
remove in interface DicomObject
Returns:

getNestedDicomObject

public DicomObject getNestedDicomObject(int[] itemPath)
Specified by:
getNestedDicomObject in interface DicomObject
Returns:

getBytes

public byte[] getBytes(int[] tagPath)
Specified by:
getBytes in interface DicomObject

getBytes

public byte[] getBytes(int[] tagPath,
                       boolean bigEndian)
Specified by:
getBytes in interface DicomObject
Returns:

getInt

public int getInt(int[] tagPath)
Specified by:
getInt in interface DicomObject
Returns:

getInt

public int getInt(int[] tagPath,
                  VR vr)
Specified by:
getInt in interface DicomObject

getInt

public int getInt(int[] tagPath,
                  int defVal)
Specified by:
getInt in interface DicomObject
Returns:

getInt

public int getInt(int[] tagPath,
                  VR vr,
                  int defVal)
Specified by:
getInt in interface DicomObject

getInts

public int[] getInts(int[] tagPath)
Specified by:
getInts in interface DicomObject
Returns:

getInts

public int[] getInts(int[] tagPath,
                     VR vr)
Specified by:
getInts in interface DicomObject

getInts

public int[] getInts(int[] tagPath,
                     int[] defVal)
Specified by:
getInts in interface DicomObject
Returns:

getInts

public int[] getInts(int[] tagPath,
                     VR vr,
                     int[] defVal)
Specified by:
getInts in interface DicomObject

getShorts

public short[] getShorts(int[] tagPath)
Specified by:
getShorts in interface DicomObject
Returns:

getShorts

public short[] getShorts(int[] tagPath,
                         VR vr)
Specified by:
getShorts in interface DicomObject

getShorts

public short[] getShorts(int[] tagPath,
                         short[] defVal)
Specified by:
getShorts in interface DicomObject
Returns:

getShorts

public short[] getShorts(int[] tagPath,
                         VR vr,
                         short[] defVal)
Specified by:
getShorts in interface DicomObject

getFloat

public float getFloat(int[] tagPath)
Specified by:
getFloat in interface DicomObject
Returns:

getFloat

public float getFloat(int[] tagPath,
                      VR vr)
Specified by:
getFloat in interface DicomObject

getFloat

public float getFloat(int[] tagPath,
                      float defVal)
Specified by:
getFloat in interface DicomObject
Returns:

getFloat

public float getFloat(int[] tagPath,
                      VR vr,
                      float defVal)
Specified by:
getFloat in interface DicomObject

getFloats

public float[] getFloats(int[] tagPath)
Specified by:
getFloats in interface DicomObject
Returns:

getFloats

public float[] getFloats(int[] tagPath,
                         VR vr)
Specified by:
getFloats in interface DicomObject

getFloats

public float[] getFloats(int[] tagPath,
                         float[] defVal)
Specified by:
getFloats in interface DicomObject
Returns:

getFloats

public float[] getFloats(int[] tagPath,
                         VR vr,
                         float[] defVal)
Specified by:
getFloats in interface DicomObject

getDouble

public double getDouble(int[] tagPath)
Specified by:
getDouble in interface DicomObject
Returns:

getDouble

public double getDouble(int[] tagPath,
                        VR vr)
Specified by:
getDouble in interface DicomObject

getDouble

public double getDouble(int[] tagPath,
                        double defVal)
Specified by:
getDouble in interface DicomObject
Returns:

getDouble

public double getDouble(int[] tagPath,
                        VR vr,
                        double defVal)
Specified by:
getDouble in interface DicomObject

getDoubles

public double[] getDoubles(int[] tagPath)
Specified by:
getDoubles in interface DicomObject
Returns:

getDoubles

public double[] getDoubles(int[] tagPath,
                           VR vr)
Specified by:
getDoubles in interface DicomObject

getDoubles

public double[] getDoubles(int[] tagPath,
                           double[] defVal)
Specified by:
getDoubles in interface DicomObject
Returns:

getDoubles

public double[] getDoubles(int[] tagPath,
                           VR vr,
                           double[] defVal)
Specified by:
getDoubles in interface DicomObject

getString

public java.lang.String getString(int[] tagPath)
Specified by:
getString in interface DicomObject
Returns:

getString

public java.lang.String getString(int[] tagPath,
                                  VR vr)
Specified by:
getString in interface DicomObject

getString

public java.lang.String getString(int[] tagPath,
                                  java.lang.String defVal)
Specified by:
getString in interface DicomObject
Returns:

getString

public java.lang.String getString(int[] tagPath,
                                  VR vr,
                                  java.lang.String defVal)
Specified by:
getString in interface DicomObject

getStrings

public java.lang.String[] getStrings(int[] tagPath)
Specified by:
getStrings in interface DicomObject
Returns:

getStrings

public java.lang.String[] getStrings(int[] tagPath,
                                     VR vr)
Specified by:
getStrings in interface DicomObject

getStrings

public java.lang.String[] getStrings(int[] tagPath,
                                     java.lang.String[] defVal)
Specified by:
getStrings in interface DicomObject
Returns:

getStrings

public java.lang.String[] getStrings(int[] tagPath,
                                     VR vr,
                                     java.lang.String[] defVal)
Specified by:
getStrings in interface DicomObject

getDate

public java.util.Date getDate(int[] tagPath)
Specified by:
getDate in interface DicomObject
Returns:

getDate

public java.util.Date getDate(int[] tagPath,
                              VR vr)
Specified by:
getDate in interface DicomObject

getDate

public java.util.Date getDate(int[] tagPath,
                              java.util.Date defVal)
Specified by:
getDate in interface DicomObject
Returns:

getDate

public java.util.Date getDate(int[] tagPath,
                              VR vr,
                              java.util.Date defVal)
Specified by:
getDate in interface DicomObject

getDates

public java.util.Date[] getDates(int[] tagPath)
Specified by:
getDates in interface DicomObject
Returns:

getDates

public java.util.Date[] getDates(int[] tagPath,
                                 VR vr)
Specified by:
getDates in interface DicomObject

getDates

public java.util.Date[] getDates(int[] tagPath,
                                 java.util.Date[] defVal)
Specified by:
getDates in interface DicomObject
Returns:

getDates

public java.util.Date[] getDates(int[] tagPath,
                                 VR vr,
                                 java.util.Date[] defVal)
Specified by:
getDates in interface DicomObject

getDateRange

public DateRange getDateRange(int[] tagPath)
Specified by:
getDateRange in interface DicomObject
Returns:

getDateRange

public DateRange getDateRange(int[] tagPath,
                              VR vr)
Specified by:
getDateRange in interface DicomObject

getDateRange

public DateRange getDateRange(int[] tagPath,
                              DateRange defVal)
Specified by:
getDateRange in interface DicomObject
Returns:

getDateRange

public DateRange getDateRange(int[] tagPath,
                              VR vr,
                              DateRange defVal)
Specified by:
getDateRange in interface DicomObject

getDate

public java.util.Date getDate(int[] itemPath,
                              int daTag,
                              int tmTag)
Specified by:
getDate in interface DicomObject
Returns:

getDate

public java.util.Date getDate(int[] itemPath,
                              int daTag,
                              int tmTag,
                              java.util.Date defVal)
Specified by:
getDate in interface DicomObject
Returns:

getDates

public java.util.Date[] getDates(int[] itemPath,
                                 int daTag,
                                 int tmTag)
Specified by:
getDates in interface DicomObject
Returns:

getDates

public java.util.Date[] getDates(int[] itemPath,
                                 int daTag,
                                 int tmTag,
                                 java.util.Date[] defVal)
Specified by:
getDates in interface DicomObject
Returns:

getDateRange

public DateRange getDateRange(int[] itemPath,
                              int daTag,
                              int tmTag)
Specified by:
getDateRange in interface DicomObject
Returns:

getDateRange

public DateRange getDateRange(int[] itemPath,
                              int daTag,
                              int tmTag,
                              DateRange defVal)
Specified by:
getDateRange in interface DicomObject
Returns:

putBytes

public DicomElement putBytes(int tag,
                             VR vr,
                             byte[] val)
Specified by:
putBytes in interface DicomObject

putBytes

public DicomElement putBytes(int[] tagPath,
                             VR vr,
                             byte[] val)
Specified by:
putBytes in interface DicomObject

putBytes

public DicomElement putBytes(int[] tagPath,
                             VR vr,
                             byte[] val,
                             boolean bigEndian)
Specified by:
putBytes in interface DicomObject
Returns:

putDate

public DicomElement putDate(int[] tagPath,
                            VR vr,
                            java.util.Date val)
Specified by:
putDate in interface DicomObject
Returns:

putDateRange

public DicomElement putDateRange(int[] tagPath,
                                 VR vr,
                                 DateRange val)
Specified by:
putDateRange in interface DicomObject
Returns:

putDates

public DicomElement putDates(int[] tagPath,
                             VR vr,
                             java.util.Date[] val)
Specified by:
putDates in interface DicomObject
Returns:

putDouble

public DicomElement putDouble(int[] tagPath,
                              VR vr,
                              double val)
Specified by:
putDouble in interface DicomObject
Returns:

putDoubles

public DicomElement putDoubles(int[] tagPath,
                               VR vr,
                               double[] val)
Specified by:
putDoubles in interface DicomObject
Returns:

putFloat

public DicomElement putFloat(int[] tagPath,
                             VR vr,
                             float val)
Specified by:
putFloat in interface DicomObject
Returns:

putFloats

public DicomElement putFloats(int[] tagPath,
                              VR vr,
                              float[] val)
Specified by:
putFloats in interface DicomObject
Returns:

putFragments

public DicomElement putFragments(int[] tagPath,
                                 VR vr,
                                 boolean bigEndian,
                                 int capacity)
Specified by:
putFragments in interface DicomObject
Returns:

putFragments

public DicomElement putFragments(int[] tagPath,
                                 VR vr,
                                 boolean bigEndian)
Specified by:
putFragments in interface DicomObject
Returns:

putShorts

public DicomElement putShorts(int[] tagPath,
                              VR vr,
                              short[] val)
Specified by:
putShorts in interface DicomObject
Returns:

putInt

public DicomElement putInt(int[] tagPath,
                           VR vr,
                           int val)
Specified by:
putInt in interface DicomObject
Returns:

putInts

public DicomElement putInts(int[] tagPath,
                            VR vr,
                            int[] val)
Specified by:
putInts in interface DicomObject
Returns:

putNestedDicomObject

public DicomElement putNestedDicomObject(int[] tagPath,
                                         DicomObject item)
Specified by:
putNestedDicomObject in interface DicomObject
Returns:

putNull

public DicomElement putNull(int[] tagPath,
                            VR vr)
Specified by:
putNull in interface DicomObject
Returns:

putSequence

public DicomElement putSequence(int[] tagPath,
                                int capacity)
Specified by:
putSequence in interface DicomObject
Returns:

putSequence

public DicomElement putSequence(int[] tagPath)
Specified by:
putSequence in interface DicomObject
Returns:

putString

public DicomElement putString(int[] tagPath,
                              VR vr,
                              java.lang.String val)
Specified by:
putString in interface DicomObject
Returns:

putStrings

public DicomElement putStrings(int[] tagPath,
                               VR vr,
                               java.lang.String[] val)
Specified by:
putStrings in interface DicomObject
Returns:

get

public DicomElement get(int tag,
                        VR vr)
Specified by:
get in interface DicomObject


Copyright © 2011 dcm4che. All Rights Reserved.