de.grogra.grogra
Class DTDFilter

java.lang.Object
  extended by de.grogra.pf.io.FilterBase
      extended by de.grogra.grogra.DTDFilter
All Implemented Interfaces:
Filter, FilterSource, ObjectSource, RegistryContext, Map

public class DTDFilter
extends FilterBase
implements ObjectSource


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
 
Nested classes/interfaces inherited from interface de.grogra.util.Map
Map.Chain
 
Field Summary
 
Fields inherited from class de.grogra.pf.io.FilterBase
item, source
 
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
 
Fields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP
 
Constructor Summary
DTDFilter(FileSource source)
           
DTDFilter(FilterItem item, FilterSource source)
           
 
Method Summary
 java.lang.Object getObject()
          Returns the data as an object of a class which is compatible which the flavor.
 java.lang.Object getObject(FileSource fs)
           
 java.lang.Object getObjectImpl(DTDTokenizer tokenizer, java.lang.String dtdFile)
           
 
Methods inherited from class de.grogra.pf.io.FilterBase
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

DTDFilter

public DTDFilter(FileSource source)

DTDFilter

public DTDFilter(FilterItem item,
                 FilterSource source)
Method Detail

getObject

public java.lang.Object getObject()
                           throws java.io.IOException
Description copied from interface: ObjectSource
Returns the data as an object of a class which is compatible which the flavor.

Specified by:
getObject in interface ObjectSource
Returns:
the data
Throws:
java.io.IOException

getObject

public java.lang.Object getObject(FileSource fs)
                           throws java.io.IOException
Throws:
java.io.IOException

getObjectImpl

public java.lang.Object getObjectImpl(DTDTokenizer tokenizer,
                                      java.lang.String dtdFile)
                               throws java.io.IOException
Throws:
java.io.IOException