java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.pf.io.SAXFilterBase
de.grogra.pf.io.XSLTFilter
- All Implemented Interfaces:
Filter
,FilterSource
,OutputStreamSource
,SAXSource
,RegistryContext
,Map
,XMLReader
-
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.SAXFilterBase
LEX_HANDLER
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
Fields inherited from interface de.grogra.pf.io.SAXSource
NAMESPACE_PREFIXES, NAMESPACES
-
Constructor Summary
ConstructorsConstructorDescriptionXSLTFilter
(FilterItem item, FilterSource source, Templates xslt, IOFlavor targetFlavor) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFeature
(String name) void
parse
(ContentHandler ch, ErrorHandler eh, LexicalHandler lh, DTDHandler dh, EntityResolver er) void
setFeature
(String name, boolean value) void
write
(OutputStream out) This method writes the data toout
.Methods inherited from class de.grogra.pf.io.SAXFilterBase
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setProperty
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 Details
-
XSLTFilter
-
-
Method Details
-
parse
public void parse(ContentHandler ch, ErrorHandler eh, LexicalHandler lh, DTDHandler dh, EntityResolver er) throws IOException, SAXException - Specified by:
parse
in interfaceSAXSource
- Throws:
IOException
SAXException
-
write
Description copied from interface:OutputStreamSource
This method writes the data toout
.- Specified by:
write
in interfaceOutputStreamSource
- Parameters:
out
- the stream to which data is written- Throws:
IOException
-
getFeature
- Specified by:
getFeature
in interfaceSAXSource
- Specified by:
getFeature
in interfaceXMLReader
- Overrides:
getFeature
in classSAXFilterBase
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException - Specified by:
setFeature
in interfaceSAXSource
- Specified by:
setFeature
in interfaceXMLReader
- Overrides:
setFeature
in classSAXFilterBase
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-