de.grogra.pf.io
Class XSLTFilter
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, org.xml.sax.XMLReader
public class XSLTFilter
- extends SAXFilterBase
- implements OutputStreamSource
Nested classes/interfaces inherited from interface de.grogra.util.Map |
Map.Chain |
Method Summary |
boolean |
getFeature(java.lang.String name)
|
void |
parse(org.xml.sax.ContentHandler ch,
org.xml.sax.ErrorHandler eh,
org.xml.sax.ext.LexicalHandler lh,
org.xml.sax.DTDHandler dh,
org.xml.sax.EntityResolver er)
|
void |
setFeature(java.lang.String name,
boolean value)
|
void |
write(java.io.OutputStream out)
This method writes the data to out . |
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 |
XSLTFilter
public XSLTFilter(FilterItem item,
FilterSource source,
javax.xml.transform.Templates xslt,
IOFlavor targetFlavor)
getFeature
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
getFeature
in interface SAXSource
- Specified by:
getFeature
in interface org.xml.sax.XMLReader
- Overrides:
getFeature
in class SAXFilterBase
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
parse
public void parse(org.xml.sax.ContentHandler ch,
org.xml.sax.ErrorHandler eh,
org.xml.sax.ext.LexicalHandler lh,
org.xml.sax.DTDHandler dh,
org.xml.sax.EntityResolver er)
throws java.io.IOException,
org.xml.sax.SAXException
- Specified by:
parse
in interface SAXSource
- Throws:
java.io.IOException
org.xml.sax.SAXException
setFeature
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
setFeature
in interface SAXSource
- Specified by:
setFeature
in interface org.xml.sax.XMLReader
- Overrides:
setFeature
in class SAXFilterBase
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
write
public void write(java.io.OutputStream out)
throws java.io.IOException
- Description copied from interface:
OutputStreamSource
- This method writes the data to
out
.
- Specified by:
write
in interface OutputStreamSource
- Parameters:
out
- the stream to which data is written
- Throws:
java.io.IOException