|
OSFI-Java
3.9.3
OpenSF Integration Library
|
Static Public Member Functions | |
| static boolean | validateAgainst (final Node docOrEl, final String xsdFile) |
| static boolean | validateAgainstInternalSchema (final Node docOrEl) |
| static List< Element > | getChildElements (final Node node, final String name) |
Utility class with methods that work on DOM nodes, documents and elements.
|
static |
| node | Node whose direct children will be filtered |
| name | String that will be checked against the Node#getNodeName() value. If null, all direct child elements will be returned. |
|
static |
Validate a document/element tree against an external XSD file.
| docOrEl | XML document or element to be validated |
| xsdFile | Path to an XSD schema file |
| IllegalArgumentException | if the schema cannot be loaded |
|
static |
Validate a document/element tree against a XSD schema referenced in the XML itself.
| docOrEl | XML document or element to be validated |