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