java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.msml.MTGReader
- All Implemented Interfaces:
DOMSource
,Filter
,FilterSource
,RegistryContext
,Map
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data as a DOM document.protected Object
getImpl
(FilterSource.MetaDataKey key, Object defaultValue) This method is invoked byFilterBase.get(Object, Object)
.Methods inherited from class de.grogra.pf.io.FilterBase
get, getFilter, getFlavor, 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 Details
-
MTGReader
-
-
Method Details
-
getDocument
Description copied from interface:DOMSource
Returns the data as a DOM document.- Specified by:
getDocument
in interfaceDOMSource
- Returns:
- the data
- Throws:
IOException
DOMException
-
getImpl
Description copied from class:FilterBase
This method is invoked byFilterBase.get(Object, Object)
. This default implementation forwards to the internal meta data map (seeFilterBase.setMetaData(Map)
), or returnsdefaultValue
if no such internal map has been set.- Overrides:
getImpl
in classFilterBase
- Parameters:
key
- a keydefaultValue
- a default value- Returns:
- the associated value, or
defaultValue
-