net.protempore.utils.xml
Interface XmlTransformer

All Known Implementing Classes:
ChainedXsltTransformer, SimpleXmlTransformer

public interface XmlTransformer

A simplified transformer for transforming XML documents. This type presents a much simpler view of transformations than the standard XSL classes, which it uses internally.


Method Summary
 void transform(javax.xml.transform.Source input, javax.xml.transform.Result output)
          Perform the transformation using the given non-null input source and the given non-null result.
 void transform(javax.xml.transform.Source input, javax.xml.transform.Result output, java.util.Map<java.lang.String,java.lang.Object> parameters)
          Perform the transformation using the given non-null input source, non-null result, and using all the key-value parameter pairs in the parameters map.
 

Method Detail

transform

void transform(javax.xml.transform.Source input,
               javax.xml.transform.Result output)
Perform the transformation using the given non-null input source and the given non-null result.

Parameters:
input - Non-null input.
output - Non-null output of transformation.

transform

void transform(javax.xml.transform.Source input,
               javax.xml.transform.Result output,
               java.util.Map<java.lang.String,java.lang.Object> parameters)
Perform the transformation using the given non-null input source, non-null result, and using all the key-value parameter pairs in the parameters map.

Parameters:
input - Non-null input.
output - Non-null output of transformation.
parameters - A map from parameter name to parameter value.