org.dcm4che2.data
Interface DicomElement

All Superinterfaces:
java.io.Serializable

public interface DicomElement
extends java.io.Serializable


Method Summary
 DicomObject addDicomObject(DicomObject item)
           
 DicomObject addDicomObject(int index, DicomObject item)
           
 byte[] addFragment(byte[] b)
           
 byte[] addFragment(int index, byte[] b)
           
 boolean bigEndian()
           
 DicomElement bigEndian(boolean bigEndian)
           
 int countItems()
           
 DicomElement filterItems(DicomObject filter)
           
 byte[] getBytes()
           
 java.util.Date getDate(boolean cache)
           
 DateRange getDateRange(boolean cache)
           
 java.util.Date[] getDates(boolean cache)
           
 DicomObject getDicomObject()
           
 DicomObject getDicomObject(int index)
           
 double getDouble(boolean cache)
           
 double[] getDoubles(boolean cache)
           
 float getFloat(boolean cache)
           
 float[] getFloats(boolean cache)
           
 byte[] getFragment(int index)
           
 int getInt(boolean cache)
           
 int[] getInts(boolean cache)
           
 java.util.regex.Pattern getPattern(SpecificCharacterSet cs, boolean ignoreCase, boolean cache)
           
 short[] getShorts(boolean cache)
           
 java.lang.String getString(SpecificCharacterSet cs, boolean cache)
           
 java.lang.String[] getStrings(SpecificCharacterSet cs, boolean cache)
           
 java.lang.String getValueAsString(SpecificCharacterSet cs, int truncate)
           
 boolean hasDicomObjects()
           
 boolean hasFragments()
           
 boolean hasItems()
           
 boolean isEmpty()
           
 int length()
           
 boolean removeDicomObject(DicomObject item)
           
 DicomObject removeDicomObject(int index)
           
 boolean removeFragment(byte[] b)
           
 byte[] removeFragment(int index)
           
 DicomObject setDicomObject(int index, DicomObject item)
           
 byte[] setFragment(int index, byte[] b)
           
 DicomElement share()
           
 int tag()
           
 java.lang.StringBuffer toStringBuffer(java.lang.StringBuffer sb, int maxValLen)
           
 int vm(SpecificCharacterSet cs)
           
 VR vr()
           
 

Method Detail

tag

int tag()

vr

VR vr()

vm

int vm(SpecificCharacterSet cs)

bigEndian

boolean bigEndian()

bigEndian

DicomElement bigEndian(boolean bigEndian)

length

int length()

isEmpty

boolean isEmpty()

hasItems

boolean hasItems()

countItems

int countItems()

getBytes

byte[] getBytes()

hasDicomObjects

boolean hasDicomObjects()

hasFragments

boolean hasFragments()

getDicomObject

DicomObject getDicomObject()

getDicomObject

DicomObject getDicomObject(int index)

removeDicomObject

DicomObject removeDicomObject(int index)

removeDicomObject

boolean removeDicomObject(DicomObject item)

addDicomObject

DicomObject addDicomObject(DicomObject item)

addDicomObject

DicomObject addDicomObject(int index,
                           DicomObject item)

setDicomObject

DicomObject setDicomObject(int index,
                           DicomObject item)

getFragment

byte[] getFragment(int index)

removeFragment

byte[] removeFragment(int index)

removeFragment

boolean removeFragment(byte[] b)

addFragment

byte[] addFragment(byte[] b)

addFragment

byte[] addFragment(int index,
                   byte[] b)

setFragment

byte[] setFragment(int index,
                   byte[] b)

getShorts

short[] getShorts(boolean cache)

getInt

int getInt(boolean cache)

getInts

int[] getInts(boolean cache)

getFloat

float getFloat(boolean cache)

getFloats

float[] getFloats(boolean cache)

getDouble

double getDouble(boolean cache)

getDoubles

double[] getDoubles(boolean cache)

getString

java.lang.String getString(SpecificCharacterSet cs,
                           boolean cache)

getStrings

java.lang.String[] getStrings(SpecificCharacterSet cs,
                              boolean cache)

getDate

java.util.Date getDate(boolean cache)

getDates

java.util.Date[] getDates(boolean cache)

getDateRange

DateRange getDateRange(boolean cache)

getPattern

java.util.regex.Pattern getPattern(SpecificCharacterSet cs,
                                   boolean ignoreCase,
                                   boolean cache)

share

DicomElement share()

filterItems

DicomElement filterItems(DicomObject filter)

toStringBuffer

java.lang.StringBuffer toStringBuffer(java.lang.StringBuffer sb,
                                      int maxValLen)

getValueAsString

java.lang.String getValueAsString(SpecificCharacterSet cs,
                                  int truncate)


Copyright © 2011 dcm4che. All Rights Reserved.