org.dicom4j.data.elements
Class DataElementFactory

java.lang.Object
  extended by org.dicom4j.data.elements.DataElementFactory

public class DataElementFactory
extends Object

Factory to create DataElement

Since:
0.0.0
Author:
Laurent Lecomte

Constructor Summary
DataElementFactory()
           
 
Method Summary
 DataElement newElement(DicomTag aTag, ValueRepresentation aValueRepresentation, boolean aisExplicit, int aBytesPerSample)
          Create a new DataElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataElementFactory

public DataElementFactory()
Method Detail

newElement

public DataElement newElement(DicomTag aTag,
                              ValueRepresentation aValueRepresentation,
                              boolean aisExplicit,
                              int aBytesPerSample)
                       throws DicomException
Create a new DataElement

Parameters:
aTag - the Tag
aValueRepresentation - the VR
aisExplicito -
aBytesPerSample -
Returns:
the ctreated DataElement
Throws:
DicomException


Copyright © 2009 dicom4j. All Rights Reserved.