@Immutable public final class XMLTransformerFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static TransformerFactory |
createTransformerFactory(ErrorListener aErrorListener,
URIResolver aURIResolver) |
static TransformerFactory |
getDefaultTransformerFactory() |
static Templates |
newTemplates(IReadableResource aResource)
Create a new XSLT Template for the passed resource.
|
static Templates |
newTemplates(Source aSource)
Create a new XSLT Template for the passed resource.
|
static Templates |
newTemplates(TransformerFactory aFactory,
IReadableResource aResource)
Create a new XSLT Template for the passed resource.
|
static Templates |
newTemplates(TransformerFactory aTransformerFactory,
Source aSource)
Create a new XSLT Template for the passed resource.
|
static Transformer |
newTransformer()
Create a new XSLT transformer for no specific resource.
|
static Transformer |
newTransformer(IReadableResource aResource)
Create a new XSLT transformer for the passed resource.
|
static Transformer |
newTransformer(Source aSource)
Create a new XSLT transformer for the passed resource.
|
static Transformer |
newTransformer(TransformerFactory aTransformerFactory)
Create a new XSLT transformer for no specific resource.
|
static Transformer |
newTransformer(TransformerFactory aTransformerFactory,
IReadableResource aResource)
Create a new XSLT transformer for the passed resource.
|
static Transformer |
newTransformer(TransformerFactory aTransformerFactory,
Source aSource)
Create a new XSLT transformer for the passed resource.
|
@Nonnull public static TransformerFactory createTransformerFactory(@Nullable ErrorListener aErrorListener, @Nullable URIResolver aURIResolver)
@Nonnull public static TransformerFactory getDefaultTransformerFactory()
@Nullable public static Transformer newTransformer()
null if something goes wrong@Nullable public static Transformer newTransformer(@Nonnull TransformerFactory aTransformerFactory)
aTransformerFactory - The transformer factory to be used. May not be null.null if something goes wrong@Nullable public static Transformer newTransformer(@Nonnull IReadableResource aResource)
aResource - The resource to be transformed. May not be null.null if something goes wrong@Nullable public static Transformer newTransformer(@Nonnull TransformerFactory aTransformerFactory, @Nonnull IReadableResource aResource)
aTransformerFactory - The transformer factory to be used. May not be null.aResource - The resource to be transformed. May not be null.null if something goes wrong@Nullable public static Transformer newTransformer(@Nonnull Source aSource)
aSource - The resource to be transformed. May not be null.null if something goes wrong@Nullable public static Transformer newTransformer(@Nonnull TransformerFactory aTransformerFactory, @Nonnull Source aSource)
aTransformerFactory - The transformer factory to be used. May not be null.aSource - The resource to be transformed. May not be null.null if something goes wrong@Nullable public static Templates newTemplates(@Nonnull IReadableResource aResource)
aResource - The resource to be templated. May not be null.null if something goes wrong@Nullable public static Templates newTemplates(@Nonnull Source aSource)
aSource - The resource to be templated. May not be null.null if something goes wrong@Nullable public static Templates newTemplates(@Nonnull TransformerFactory aFactory, @Nonnull IReadableResource aResource)
aFactory - The transformer factory to be used. May not be null.aResource - The resource to be templated. May not be null.null if something goes wrong@Nullable public static Templates newTemplates(@Nonnull TransformerFactory aTransformerFactory, @Nonnull Source aSource)
aTransformerFactory - The transformer factory to be used. May not be null.aSource - The resource to be templated. May not be null.null if something goes wrongCopyright © 2014–2016 Philip Helger. All rights reserved.