blob: cfff3c664d0c3f4a550461d5b7cb5976d321fb7a [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.invoker</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.invoker</strong></font><br>
Class JAXPSAXProcessorInvoker</h2><br><hr><pre>public class <strong>JAXPSAXProcessorInvoker</strong>
extends java.lang.Object</pre>An implementation of <code>IProcessorInvoker</code> that uses JAXP as the underlying
transformation mechanism.<p></p><hr><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_JAXPSAXProcessorInvoker">JAXPSAXProcessorInvoker</a></strong>()</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_addStylesheet">addStylesheet</a>(java.net.URL stylesheet
,
java.util.Map parameters
,
java.util.Properties outputProperties
,
javax.xml.transform.URIResolver resolver)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>protected javax.xml.transform.Transformer</code></td><td width="" align="left"><code><a href="#method_addStylesheet">addStylesheet</a>(javax.xml.transform.Source source
,
javax.xml.transform.URIResolver resolver
,
java.util.Map parameters
,
java.util.Properties outputProperties)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>protected org.xml.sax.XMLReader</code></td><td width="" align="left"><code><a href="#method_createReader">createReader</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>protected javax.xml.transform.TransformerFactory</code></td><td width="" align="left"><code><a href="#method_createTransformerFactory">createTransformerFactory</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_setFeatures">setFeatures</a>(java.util.Map features)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_transform">transform</a>(java.net.URL sourceURL
,
javax.xml.transform.Result res)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_transform">transform</a>(org.xml.sax.InputSource inputsource
,
javax.xml.transform.Result res)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Transform using an InputSource rather than a URL</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_JAXPSAXProcessorInvoker">JAXPSAXProcessorInvoker</a></h2><p><code>public <strong>JAXPSAXProcessorInvoker</strong>()</code></p><p>Create a new instance of this.</p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_addStylesheet">addStylesheet</a></h2><p><code>public void <strong>addStylesheet</strong>(java.net.URL stylesheet
,
java.util.Map parameters
,
java.util.Properties outputProperties
,
javax.xml.transform.URIResolver resolver)</code></p><p></p><h3>Parameters</h3><p><code>stylesheet</code></p><p><code>parameters</code></p><p><code>outputProperties</code></p><p><code>resolver</code></p><h3>Throws:</h3><p><code>javax.xml.transform.TransformerConfigurationException</code></p><hr><h2><a name="method_addStylesheet">addStylesheet</a></h2><p><code>protected javax.xml.transform.Transformer <strong>addStylesheet</strong>(javax.xml.transform.Source source
,
javax.xml.transform.URIResolver resolver
,
java.util.Map parameters
,
java.util.Properties outputProperties)</code></p><p></p><h3>Parameters</h3><p><code>source</code></p><p><code>resolver</code></p><p><code>parameters</code></p><p><code>outputProperties</code></p><h3>Returns</h3><p><code>javax.xml.transform.Transformer</code></p><h3>Throws:</h3><p><code>javax.xml.transform.TransformerConfigurationException</code></p><hr><h2><a name="method_createReader">createReader</a></h2><p><code>protected org.xml.sax.XMLReader <strong>createReader</strong>()</code></p><p></p><h3>Returns</h3><p><code>org.xml.sax.XMLReader</code></p><h3>Throws:</h3><p><code>org.xml.sax.SAXException</code></p><p><code>javax.xml.parsers.ParserConfigurationException</code></p><hr><h2><a name="method_createTransformerFactory">createTransformerFactory</a></h2><p><code>protected javax.xml.transform.TransformerFactory <strong>createTransformerFactory</strong>()</code></p><p></p><h3>Returns</h3><p><code>javax.xml.transform.TransformerFactory</code></p><hr><h2><a name="method_setFeatures">setFeatures</a></h2><p><code>public void <strong>setFeatures</strong>(java.util.Map features)</code></p><p></p><h3>Parameters</h3><p><code>features</code></p><h3>Throws:</h3><p><code>javax.xml.transform.TransformerFactoryConfigurationError</code></p><hr><h2><a name="method_transform">transform</a></h2><p><code>public void <strong>transform</strong>(java.net.URL sourceURL
,
javax.xml.transform.Result res)</code></p><p></p><h3>Parameters</h3><p><code>sourceURL</code></p><p><code>res</code></p><h3>Throws:</h3><p><code>org.eclipse.wst.xsl.invoker.TransformationException</code></p><hr><h2><a name="method_transform">transform</a></h2><p><code>public void <strong>transform</strong>(org.xml.sax.InputSource inputsource
,
javax.xml.transform.Result res)</code></p><p>Transform using an InputSource rather than a URL</p><h3>Parameters</h3><p><code>inputsource</code> - the InputSource to use</p><p><code>res</code> - the Result</p><h3>Throws:</h3><p><code>org.eclipse.wst.xsl.invoker.TransformationException - if an error occurred during transformation</code></p><hr></body></html>