de.grogra.pf.io
Interface DOMSource

All Superinterfaces:
FilterSource, RegistryContext
All Known Implementing Classes:
DOMSourceImpl, LazyFilter, MSMLWriter, MTGReader, NullSource, StreamAdapter

public interface DOMSource
extends FilterSource

This subinterface of FilterSource has to be implemented by filter sources whose flavor supports DOM trees (IOFlavor.DOM). It represents the data as a DOM tree rooted at its Document.

Author:
Ole Kniemeyer

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
 
Field Summary
 
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
 
Method Summary
 org.w3c.dom.Document getDocument()
          Returns the data as a DOM document.
 
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
 
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
 

Method Detail

getDocument

org.w3c.dom.Document getDocument()
                                 throws java.io.IOException,
                                        org.w3c.dom.DOMException
Returns the data as a DOM document.

Returns:
the data
Throws:
java.io.IOException
org.w3c.dom.DOMException