Spring Web Services Framework

org.springframework.ws.server.endpoint.support
Class PayloadRootUtils

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

public abstract class PayloadRootUtils
extends Object

Helper class for determining the root qualified name of a Web Service payload.

Since:
1.0.0
Author:
Arjen Poutsma

Method Summary
static QName getPayloadRootQName(Source source, TransformerFactory transformerFactory)
          Returns the root qualified name of the given source, transforming it if necessary.
static QName getPayloadRootQName(Source source, TransformerHelper transformerHelper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPayloadRootQName

public static QName getPayloadRootQName(Source source,
                                        TransformerFactory transformerFactory)
                                 throws TransformerException
Returns the root qualified name of the given source, transforming it if necessary.

Parameters:
source - the source to get the root element from
transformerFactory - a transformer factory, necessary if the given source is not a DOMSource
Returns:
the root element, or null if source is null
Throws:
TransformerException

getPayloadRootQName

public static QName getPayloadRootQName(Source source,
                                        TransformerHelper transformerHelper)
                                 throws TransformerException
Throws:
TransformerException

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.