org.xmlmatchers.transform
Class IdentityTransformer

java.lang.Object
  extended by org.xmlmatchers.transform.IdentityTransformer

public class IdentityTransformer
extends Object

Author:
David Ehringer

Constructor Summary
IdentityTransformer()
           
IdentityTransformer(TransformerFactory transformerFactory)
           
IdentityTransformer(TransformerFactory transformerFactory, Map<String,Object> parameters)
           
 
Method Summary
 void transform(Source source, Result result)
          Transforms the given Source to the given Result.
 void transform(Source source, Result result, Map<String,Object> parameters)
          Transforms the given Source to the given Result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityTransformer

public IdentityTransformer()

IdentityTransformer

public IdentityTransformer(TransformerFactory transformerFactory)

IdentityTransformer

public IdentityTransformer(TransformerFactory transformerFactory,
                           Map<String,Object> parameters)
Method Detail

transform

public final void transform(Source source,
                            Result result)
                     throws TransformerException
Transforms the given Source to the given Result.

Parameters:
source - the source to transform from
result - the result to transform to
Throws:
TransformerException

transform

public final void transform(Source source,
                            Result result,
                            Map<String,Object> parameters)
                     throws TransformerException
Transforms the given Source to the given Result.

Parameters:
source - the source to transform from
result - the result to transform to
The - Map of parameters to apply to the transform
Throws:
TransformerException


Copyright © 2010-2011. All Rights Reserved.