TransformerFactoryChooser that uses the usual JAXP factory
lookup mechanisms for XSLT 1.0 stylesheets, and hard-codes to SAXON for XSLT 2.0 stylesheets.
| Modifier and Type | Field and Description |
|---|---|
| private static final DefaultTransformerFactoryChooser | singletonInstance
Singleton instance |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static DefaultTransformerFactoryChooser | |
| public TransformerFactory | getSuitableXSLT10TransformerFactory()
Implements uk. Implementors of this interface should return an XSLT 1.0-compatible |
| public TransformerFactory | getSuitableXSLT20TransformerFactory()
Implements uk. Implementors of this interface should return an XSLT 2.0-compatible |
| public boolean | isXSLT20SupportAvailable()
Implements uk. Implementors of this interface should indicate whether support for XSLT 2.0 is available. |
| singletonInstance | back to summary |
|---|---|
| private static final DefaultTransformerFactoryChooser singletonInstance Singleton instance | |
| DefaultTransformerFactoryChooser | back to summary |
|---|---|
| public DefaultTransformerFactoryChooser() | |
| getInstance | back to summary |
|---|---|
| public static DefaultTransformerFactoryChooser getInstance() | |
| getSuitableXSLT10TransformerFactory | back to summary |
|---|---|
| public TransformerFactory getSuitableXSLT10TransformerFactory() Implements uk. Doc from uk. Implementors of this interface should return an XSLT 1.0-compatible | |
| getSuitableXSLT20TransformerFactory | back to summary |
|---|---|
| public TransformerFactory getSuitableXSLT20TransformerFactory() Implements uk. Doc from uk. Implementors of this interface should return an XSLT 2.0-compatible | |
| isXSLT20SupportAvailable | back to summary |
|---|---|
| public boolean isXSLT20SupportAvailable() Implements uk. Doc from uk. Implementors of this interface should indicate whether support for XSLT 2.0 is available. | |