Class PayloadRootUtils
java.lang.Object
org.springframework.ws.server.endpoint.support.PayloadRootUtils
Deprecated, for removal: This API element is subject to removal in a future version.
Helper class for determining the root qualified name of a Web Service payload.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable QNamegetPayloadRootQName(@Nullable Source source, TransformerFactory transformerFactory) Deprecated, for removal: This API element is subject to removal in a future version.Return the root qualified name of the given source, ornullif it could not be determined.static @Nullable QNamegetPayloadRootQName(@Nullable Source source, TransformerHelper transformerHelper) Deprecated, for removal: This API element is subject to removal in a future version.Return the root qualified name of the given source, ornullif it could not be determined.
-
Method Details
-
getPayloadRootQName
public static @Nullable QName getPayloadRootQName(@Nullable Source source, TransformerFactory transformerFactory) throws TransformerException Deprecated, for removal: This API element is subject to removal in a future version.Return the root qualified name of the given source, ornullif it could not be determined.- Parameters:
source- the source to inspecttransformerFactory- the transformer factory to use, if necessary- Returns:
- the root qualified name, or
null - Throws:
TransformerException- if the source could not be read
-
getPayloadRootQName
public static @Nullable QName getPayloadRootQName(@Nullable Source source, TransformerHelper transformerHelper) throws TransformerException Deprecated, for removal: This API element is subject to removal in a future version.Return the root qualified name of the given source, ornullif it could not be determined.- Parameters:
source- the source to inspecttransformerHelper- the transformer helper to use, if necessary- Returns:
- the root qualified name, or
null - Throws:
TransformerException- if the source could not be read
-
PayloadRootUtils, as the payload root is also relevant on the client side.