abstract class AbstractTransformationBuilder<B extends TransformationBuilderBase<B>> extends java.lang.Object implements TransformationBuilderBase<B>
Not intended to be used outside of this package.
I wish there was a way to say implements B
.
Modifier and Type | Field and Description |
---|---|
private Transformation |
helper |
Modifier | Constructor and Description |
---|---|
protected |
AbstractTransformationBuilder(javax.xml.transform.Source s) |
Modifier and Type | Method and Description |
---|---|
private B |
asB() |
protected Transformation |
getHelper()
Provides access to a cached
Transformation instance. |
B |
usingFactory(javax.xml.transform.TransformerFactory f)
sets the TraX factory to use.
|
B |
withOutputProperty(java.lang.String name,
java.lang.String value)
Adds an output property.
|
B |
withParameter(java.lang.String name,
java.lang.Object value)
Adds a parameter.
|
B |
withStylesheet(javax.xml.transform.Source s)
Sets the stylesheet to use.
|
B |
withURIResolver(javax.xml.transform.URIResolver r)
Sets the resolver to use for the document() function and
xsi:import/include.
|
private final Transformation helper
protected AbstractTransformationBuilder(javax.xml.transform.Source s)
public B withStylesheet(javax.xml.transform.Source s)
TransformationBuilderBase
withStylesheet
in interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
public B withOutputProperty(java.lang.String name, java.lang.String value)
TransformationBuilderBase
withOutputProperty
in interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
public B withParameter(java.lang.String name, java.lang.Object value)
TransformationBuilderBase
withParameter
in interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
public B usingFactory(javax.xml.transform.TransformerFactory f)
TransformationBuilderBase
usingFactory
in interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
public B withURIResolver(javax.xml.transform.URIResolver r)
TransformationBuilderBase
withURIResolver
in interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
protected Transformation getHelper()
Transformation
instance.private B asB()