Package org.xmlunit.builder
Interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
-
- All Known Subinterfaces:
Input.TransformationBuilder
,Transform.Builder
- All Known Implementing Classes:
AbstractTransformationBuilder
,Input.Transformation
,Transform.TransformationBuilder
public interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
Holds the common builder methods for XSLT related builders.B
is the derived builder interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
usingFactory
B usingFactory(javax.xml.transform.TransformerFactory f)
sets the TraX factory to use.- Parameters:
f
- the factory to use- Returns:
- this
-
withOutputProperty
B withOutputProperty(java.lang.String name, java.lang.String value)
Adds an output property.- Parameters:
name
- name of the propertyvalue
- value of the property- Returns:
- this
-
withParameter
B withParameter(java.lang.String name, java.lang.Object value)
Adds a parameter.- Parameters:
name
- name of the parametervalue
- value of the parameter- Returns:
- this
-
withStylesheet
B withStylesheet(javax.xml.transform.Source s)
Sets the stylesheet to use.- Parameters:
s
- styleSheet to use- Returns:
- this
-
withURIResolver
B withURIResolver(javax.xml.transform.URIResolver r)
Sets the resolver to use for the document() function and xsi:import/include.- Parameters:
r
- the resolver to use- Returns:
- this
-
-