org.dcm4che2.io
Class SAXWriter

java.lang.Object
  extended by org.dcm4che2.io.SAXWriter
All Implemented Interfaces:
DicomInputHandler

public class SAXWriter
extends java.lang.Object
implements DicomInputHandler


Constructor Summary
SAXWriter(org.xml.sax.ContentHandler ch, org.xml.sax.ext.LexicalHandler lh)
           
 
Method Summary
 java.io.File getBaseDir()
           
 int[] getExclude()
           
 boolean readValue(DicomInputStream in)
          Called by the input stream when reading a DICOM value in the stream.
 void setBaseDir(java.io.File baseDir)
           
 void setExclude(int[] exclude)
           
 void write(DicomObject attrs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXWriter

public SAXWriter(org.xml.sax.ContentHandler ch,
                 org.xml.sax.ext.LexicalHandler lh)
Method Detail

getBaseDir

public final java.io.File getBaseDir()

setBaseDir

public final void setBaseDir(java.io.File baseDir)

getExclude

public final int[] getExclude()

setExclude

public final void setExclude(int[] exclude)

write

public void write(DicomObject attrs)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

readValue

public boolean readValue(DicomInputStream in)
                  throws java.io.IOException
Description copied from interface: DicomInputHandler
Called by the input stream when reading a DICOM value in the stream.

Specified by:
readValue in interface DicomInputHandler
Parameters:
in - The DicomInputStream calling this method.
Returns:
boolean true if the stream should continue reading the item.
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.