org.dcm4che2.data
Class DicomObjects

java.lang.Object
  extended by org.dcm4che2.data.DicomObjects

public class DicomObjects
extends java.lang.Object

Since:
Aug 6, 2008
Version:
$Revision$ $Date$
Author:
Gunter Zeilinger

Method Summary
static DicomObject unmodifiableDicomObject(DicomObject dcmobj)
          Returns an unmodifiable view of the specified dicom object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unmodifiableDicomObject

public static DicomObject unmodifiableDicomObject(DicomObject dcmobj)
Returns an unmodifiable view of the specified dicom object. This method allows modules to provide users with "read-only" access to internal dicom objects. Query operations on the returned dicom object "read through" to the specified dicom object, and attempts to modify the returned dicom object result in an UnsupportedOperationException. If the specified dicom object is already an unmodifiable view returned by a previous invocation of this method, the specified dicom object is returned.

Parameters:
dcmobj - the dicom object for which an unmodifiable view is to be returned.
Returns:
an unmodifiable view of the specified dicom object.


Copyright © 2011 dcm4che. All Rights Reserved.