@Immutable public final class SchematronResourceHelper extends Object
@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–2015 Philip Helger. All rights reserved.