org.springframework.ws.server.endpoint.support
Class PayloadRootUtils
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPayloadRootQName
public static QName getPayloadRootQName(Source source,
TransformerFactory transformerFactory)
throws TransformerException,
XMLStreamException
- Returns the root qualified name of the given source, transforming it if necessary.
- Parameters:
source
- the source to get the root element fromtransformerFactory
- a transformer factory, necessary if the given source is not a DOMSource
- Returns:
- the root element, or
null
if source
is null
- Throws:
TransformerException
XMLStreamException
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.