Class PayloadRootUtils

java.lang.Object
org.springframework.ws.server.endpoint.support.PayloadRootUtils

@Deprecated(since="5.1.0", forRemoval=true) public abstract class PayloadRootUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.1.0 in favor of PayloadRootUtils, as the payload root is also relevant on the client side.
Helper class for determining the root qualified name of a Web Service payload.
Since:
1.0.0
  • 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, or null if it could not be determined.
      Parameters:
      source - the source to inspect
      transformerFactory - 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, or null if it could not be determined.
      Parameters:
      source - the source to inspect
      transformerHelper - the transformer helper to use, if necessary
      Returns:
      the root qualified name, or null
      Throws:
      TransformerException - if the source could not be read