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 java.lang.Object
implements XmlPayloadConverter

Default implementation of XmlPayloadConverter. Supports Document, File and String payloads.

Author:
Jonas Partner

Constructor Summary
DefaultXmlPayloadConverter()
           
DefaultXmlPayloadConverter(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
           
 
Method Summary
 org.w3c.dom.Document convertToDocument(java.lang.Object object)
           
 org.w3c.dom.Node convertToNode(java.lang.Object object)
           
 javax.xml.transform.Source convertToSource(java.lang.Object object)
           
protected  javax.xml.parsers.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(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
Method Detail

convertToDocument

public org.w3c.dom.Document convertToDocument(java.lang.Object object)
Specified by:
convertToDocument in interface XmlPayloadConverter

convertToNode

public org.w3c.dom.Node convertToNode(java.lang.Object object)
Specified by:
convertToNode in interface XmlPayloadConverter

convertToSource

public javax.xml.transform.Source convertToSource(java.lang.Object object)
Specified by:
convertToSource in interface XmlPayloadConverter

getDocumentBuilder

protected javax.xml.parsers.DocumentBuilder getDocumentBuilder()

Spring Integration