Package org.xmlunit.builder
Interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
- All Known Subinterfaces:
Input.TransformationBuilder
,Transform.Builder
public interface TransformationBuilderBase<B extends TransformationBuilderBase<B>>
Holds the common builder methods for XSLT related builders.
B
is the derived builder interface.
-
Method Summary
Modifier and TypeMethodDescriptionsets the TraX factory to use.withOutputProperty
(String name, String value) Adds an output property.withParameter
(String name, Object value) Adds a parameter.Sets the stylesheet to use.Sets the resolver to use for the document() function and xsi:import/include.
-
Method Details
-
usingFactory
sets the TraX factory to use.- Parameters:
f
- the factory to use- Returns:
- this
-
withOutputProperty
Adds an output property.- Parameters:
name
- name of the propertyvalue
- value of the property- Returns:
- this
-
withParameter
Adds a parameter.- Parameters:
name
- name of the parametervalue
- value of the parameter- Returns:
- this
-
withStylesheet
Sets the stylesheet to use.- Parameters:
s
- styleSheet to use- Returns:
- this
-
withURIResolver
Sets the resolver to use for the document() function and xsi:import/include.- Parameters:
r
- the resolver to use- Returns:
- this
-