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.Bis the derived builder interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BusingFactory(TransformerFactory f)sets the TraX factory to use.BwithOutputProperty(String name, String value)Adds an output property.BwithParameter(String name, Object value)Adds a parameter.BwithStylesheet(Source s)Sets the stylesheet to use.BwithURIResolver(URIResolver r)Sets the resolver to use for the document() function and xsi:import/include.
-
-
-
Method Detail
-
usingFactory
B usingFactory(TransformerFactory f)
sets the TraX factory to use.- Parameters:
f- the factory to use- Returns:
- this
-
withOutputProperty
B withOutputProperty(String name, String value)
Adds an output property.- Parameters:
name- name of the propertyvalue- value of the property- Returns:
- this
-
withParameter
B withParameter(String name, Object value)
Adds a parameter.- Parameters:
name- name of the parametervalue- value of the parameter- Returns:
- this
-
withStylesheet
B withStylesheet(Source s)
Sets the stylesheet to use.- Parameters:
s- styleSheet to use- Returns:
- this
-
withURIResolver
B withURIResolver(URIResolver r)
Sets the resolver to use for the document() function and xsi:import/include.- Parameters:
r- the resolver to use- Returns:
- this
-
-