public final class DefaultTransformerFactoryChooser extends java.lang.Object implements TransformerFactoryChooser
TransformerFactoryChooser that uses the usual JAXP factory
lookup mechanisms for XSLT 1.0 stylesheets, and hard-codes to SAXON for XSLT 2.0 stylesheets.| 构造器和说明 |
|---|
DefaultTransformerFactoryChooser() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultTransformerFactoryChooser |
getInstance() |
javax.xml.transform.TransformerFactory |
getSuitableXSLT10TransformerFactory()
Implementors of this interface should return an XSLT 1.0-compatible
TransformerFactory
that SnuggleTeX is free to mess around with and is capable of handling DOMSource
and DOMResults. |
javax.xml.transform.TransformerFactory |
getSuitableXSLT20TransformerFactory()
Implementors of this interface should return an XSLT 2.0-compatible
TransformerFactory
that SnuggleTeX is free to mess around with and is capable of handling DOMSource
and DOMResults. |
boolean |
isXSLT20SupportAvailable()
Implementors of this interface should indicate whether support for XSLT 2.0 is available.
|
public static DefaultTransformerFactoryChooser getInstance()
public boolean isXSLT20SupportAvailable()
TransformerFactoryChooserpublic javax.xml.transform.TransformerFactory getSuitableXSLT10TransformerFactory()
TransformerFactoryChooserTransformerFactory
that SnuggleTeX is free to mess around with and is capable of handling DOMSource
and DOMResults.public javax.xml.transform.TransformerFactory getSuitableXSLT20TransformerFactory()
TransformerFactoryChooserTransformerFactory
that SnuggleTeX is free to mess around with and is capable of handling DOMSource
and DOMResults.