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
, File
, String
, Node
and
DOMSource
payloads.- Author:
- Jonas Partner, Artem Bilan
-
Constructor Summary
Constructors Constructor Description DefaultXmlPayloadConverter()
DefaultXmlPayloadConverter(DocumentBuilderFactory documentBuilderFactory)
-
Method Summary
Modifier and Type Method Description Document
convertToDocument(Object object)
Node
convertToNode(Object object)
Source
convertToSource(Object object)
protected DocumentBuilder
getDocumentBuilder()
protected Document
nodeToDocument(Node node)
-
Constructor Details
-
DefaultXmlPayloadConverter
public DefaultXmlPayloadConverter() -
DefaultXmlPayloadConverter
-
-
Method Details
-
convertToDocument
- Specified by:
convertToDocument
in interfaceXmlPayloadConverter
-
nodeToDocument
-
convertToNode
- Specified by:
convertToNode
in interfaceXmlPayloadConverter
-
convertToSource
- Specified by:
convertToSource
in interfaceXmlPayloadConverter
-
getDocumentBuilder
-