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 Details

    • 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 property
      value - value of the property
      Returns:
      this
    • withParameter

      B withParameter(String name, Object value)
      Adds a parameter.
      Parameters:
      name - name of the parameter
      value - 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