de.grogra.pf.io
public class XSLTFilter extends SAXFilterBase implements OutputStreamSource
FilterSource.MetaDataKey<V>LEX_HANDLERitem, sourceAUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URLNAMESPACE_PREFIXES, NAMESPACESDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
XSLTFilter(FilterItem item,
FilterSource source,
javax.xml.transform.Templates xslt,
IOFlavor targetFlavor) |
| Modifier and Type | Method and Description |
|---|---|
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. |
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setPropertyget, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressgetRegistrypublic XSLTFilter(FilterItem item, FilterSource source, javax.xml.transform.Templates xslt, IOFlavor targetFlavor)
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in interface SAXSourcegetFeature in interface org.xml.sax.XMLReadergetFeature in class SAXFilterBaseorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic 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
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in interface SAXSourcesetFeature in interface org.xml.sax.XMLReadersetFeature in class SAXFilterBaseorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic void write(java.io.OutputStream out)
throws java.io.IOException
OutputStreamSourceout.write in interface OutputStreamSourceout - the stream to which data is writtenjava.io.IOException