org.springframework.integration.xml
Class DefaultXmlPayloadConverter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXmlPayloadConverter
public DefaultXmlPayloadConverter()
DefaultXmlPayloadConverter
public DefaultXmlPayloadConverter(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
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()