public class ResultToDocumentTransformer extends java.lang.Object implements ResultTransformer
Document
from a Result
payload. Supports
DOMResult
and StringResult
implementations.Constructor and Description |
---|
ResultToDocumentTransformer() |
ResultToDocumentTransformer(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
transformResult(javax.xml.transform.Result result) |
public ResultToDocumentTransformer(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
public ResultToDocumentTransformer()
public java.lang.Object transformResult(javax.xml.transform.Result result)
transformResult
in interface ResultTransformer