tomp.xtcl.filter
Class TransformerFilterImpl
java.lang.Object
tomp.xtcl.filter.XTFilterImpl
tomp.xtcl.filter.XSLTFilter
tomp.xtcl.filter.TransformerFilterImpl
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, HasOutputProperties, org.xml.sax.ext.LexicalHandler, Parametrized, org.xml.sax.XMLFilter, org.xml.sax.XMLReader, XTFilter
- public class TransformerFilterImpl
- extends XSLTFilter
- implements HasOutputProperties
Methods inherited from class tomp.xtcl.filter.XSLTFilter |
endDocument, endElement, endPrefixMapping, getResult, characters, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from class tomp.xtcl.filter.XTFilterImpl |
error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setParent, setProperty, setupParse, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transformer
protected javax.xml.transform.Transformer transformer
handler
protected javax.xml.transform.sax.TransformerHandler handler
outputPropertiesListener
protected HasOutputProperties outputPropertiesListener
TransformerFilterImpl
protected TransformerFilterImpl(javax.xml.transform.sax.TransformerHandler handler)
getTransformer
public javax.xml.transform.Transformer getTransformer()
getOutputProperties
public java.util.Properties getOutputProperties()
- Specified by:
getOutputProperties
in interface HasOutputProperties
setOutputProperties
public void setOutputProperties(java.util.Properties p)
- Specified by:
setOutputProperties
in interface HasOutputProperties
setOutputPropertiesListener
public void setOutputPropertiesListener(HasOutputProperties l)
- Specified by:
setOutputPropertiesListener
in interface HasOutputProperties
setParameter
public void setParameter(java.lang.String k,
java.lang.Object v)
- Specified by:
setParameter
in interface Parametrized
- Overrides:
setParameter
in class XTFilterImpl
comment
public void comment(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Callback interface for SAX (part of LexicalHandler interface): not for application use
- Specified by:
comment
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
comment
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException
startDTD
public void startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException
- Register the start of the DTD. Comments in the DTD are skipped because they
are not part of the XPath data model
- Specified by:
startDTD
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
startDTD
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException
endDTD
public void endDTD()
throws org.xml.sax.SAXException
- Register the end of the DTD. Comments in the DTD are skipped because they
are not part of the XPath data model
- Specified by:
endDTD
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
endDTD
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException
startEntity
public void startEntity(java.lang.String name)
throws org.xml.sax.SAXException
- Specified by:
startEntity
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
startEntity
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException
endEntity
public void endEntity(java.lang.String name)
throws org.xml.sax.SAXException
- Specified by:
endEntity
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
endEntity
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException
startCDATA
public void startCDATA()
throws org.xml.sax.SAXException
- Specified by:
startCDATA
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
startCDATA
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException
endCDATA
public void endCDATA()
throws org.xml.sax.SAXException
- Specified by:
endCDATA
in interface org.xml.sax.ext.LexicalHandler
- Overrides:
endCDATA
in class XTFilterImpl
- Throws:
org.xml.sax.SAXException