@Immutable public final class SchematronResourceHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Node |
getNodeOfSource(Source aSource)
Convert the passed transform source into a DOM node.
|
@Nullable public static Node getNodeOfSource(@Nonnull Source aSource) throws SAXException
DOMSource
and StreamSource
can be handled.aSource
- The transform source to use. May not be null
.null
.SAXException
- In case XML parsing failsIllegalArgumentException
- in case an unsupported Source
implementation is provided.Copyright © 2014–2016 Philip Helger. All rights reserved.