Spring Integration

org.springframework.integration.xml
Class DefaultXmlPayloadConverter

java.lang.Object
  extended by org.springframework.integration.xml.DefaultXmlPayloadConverter
All Implemented Interfaces:
XmlPayloadConverter

public class DefaultXmlPayloadConverter
extends Object
implements XmlPayloadConverter

Default implementation of XmlPayloadConverter. Supports Document and String.

Author:
Jonas Partner

Constructor Summary
DefaultXmlPayloadConverter()
           
DefaultXmlPayloadConverter(DocumentBuilderFactory documentBuilderFactory)
           
 
Method Summary
 Document convertToDocument(Object object)
           
 Node convertToNode(Object object)
           
 Source convertToSource(Object object)
           
protected  DocumentBuilder getDocumentBuilder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXmlPayloadConverter

public DefaultXmlPayloadConverter()

DefaultXmlPayloadConverter

public DefaultXmlPayloadConverter(DocumentBuilderFactory documentBuilderFactory)
Method Detail

convertToDocument

public Document convertToDocument(Object object)
Specified by:
convertToDocument in interface XmlPayloadConverter

convertToNode

public Node convertToNode(Object object)
Specified by:
convertToNode in interface XmlPayloadConverter

convertToSource

public Source convertToSource(Object object)
Specified by:
convertToSource in interface XmlPayloadConverter

getDocumentBuilder

protected DocumentBuilder getDocumentBuilder()

Spring Integration

Copyright © 2010. All Rights Reserved.