public abstract class PayloadRootUtils extends Object
Modifier and Type | Method and Description |
---|---|
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) |
public static QName getPayloadRootQName(Source source, TransformerFactory transformerFactory) throws TransformerException
source
- the source to get the root element fromtransformerFactory
- a transformer factory, necessary if the given source is not a DOMSource
null
if source
is null
TransformerException
public static QName getPayloadRootQName(Source source, TransformerHelper transformerHelper) throws TransformerException
TransformerException
Copyright © 2020 Pivotal Software. All rights reserved.