org.dcm4che2.io
Class SAXWriter
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXWriter
public SAXWriter(org.xml.sax.ContentHandler ch,
org.xml.sax.ext.LexicalHandler lh)
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.