org.springframework.integration.xml.transformer
Class ResultToStringTransformer
java.lang.Object
  
org.springframework.integration.xml.transformer.ResultToStringTransformer
- All Implemented Interfaces: 
 - ResultTransformer
 
public class ResultToStringTransformer
- extends Object
- implements ResultTransformer
  
Converts the passed Result to an instance of String
 
 Supports StringResult and DOMResult
- Author:
 
  - Jonas Partner
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ResultToStringTransformer
public ResultToStringTransformer()
getNewTransformer
protected Transformer getNewTransformer()
                                 throws TransformerConfigurationException
 
- Throws:
 TransformerConfigurationException
 
transformResult
public Object transformResult(Result res)
- Specified by:
 transformResult in interface ResultTransformer
 
 
getNewDocumentBuilder
protected DocumentBuilder getNewDocumentBuilder()
                                         throws ParserConfigurationException
 
- Throws:
 ParserConfigurationException
 
Copyright © 2010. All Rights Reserved.