org.springframework.integration.xml.transformer
Class ResultToDocumentTransformer

java.lang.Object
  extended by org.springframework.integration.xml.transformer.ResultToDocumentTransformer
All Implemented Interfaces:
ResultTransformer

public class ResultToDocumentTransformer
extends java.lang.Object
implements ResultTransformer

Creates a Document from a Result payload. Supports DOMResult and StringResult implementations.


Constructor Summary
ResultToDocumentTransformer()
           
ResultToDocumentTransformer(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
           
 
Method Summary
 java.lang.Object transformResult(javax.xml.transform.Result result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultToDocumentTransformer

public ResultToDocumentTransformer(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)

ResultToDocumentTransformer

public ResultToDocumentTransformer()
Method Detail

transformResult

public java.lang.Object transformResult(javax.xml.transform.Result result)
Specified by:
transformResult in interface ResultTransformer