|
static Document | read (String xmlFile, String xsdFile) throws java.io.FileNotFoundException, XmlParseException |
|
static Document | read (final String xmlFile) throws java.io.FileNotFoundException, XmlParseException |
|
static boolean | validateAgainst (final Node docOrEl, final String xsdFile) |
|
static boolean | validateAgainstInternalSchema (final Node docOrEl) |
|
static List< Element > | getChildElements (Node node, String name) |
|
XMLParser.
XML file builder and parser. Uses the W3C DOM.
- Author
- ridr
- Deprecated:
- This class has been moved to XmlFiles and DomUtils to reduce clutter
◆ getChildElements()
static List<Element> esa.opensf.osfi.XMLParser.getChildElements |
( |
Node |
node, |
|
|
String |
name |
|
) |
| |
|
static |
◆ read() [1/2]
static Document esa.opensf.osfi.XMLParser.read |
( |
final String |
xmlFile | ) |
throws java.io.FileNotFoundException, XmlParseException |
|
static |
Read and parse a XML document, without validation.
- Exceptions
-
java.io.FileNotFoundException | if the file cannot be loaded. |
XmlParseException | if the XML cannot be parsed to a DOM document. |
References esa.opensf.osfi.xmlutils.XmlFiles.load().
◆ read() [2/2]
static Document esa.opensf.osfi.XMLParser.read |
( |
String |
xmlFile, |
|
|
String |
xsdFile |
|
) |
| throws java.io.FileNotFoundException, XmlParseException |
|
static |
◆ validateAgainst()
static boolean esa.opensf.osfi.XMLParser.validateAgainst |
( |
final Node |
docOrEl, |
|
|
final String |
xsdFile |
|
) |
| |
|
static |
◆ validateAgainstInternalSchema()
static boolean esa.opensf.osfi.XMLParser.validateAgainstInternalSchema |
( |
final Node |
docOrEl | ) |
|
|
static |
The documentation for this class was generated from the following file:
- src/Java/esa/opensf/osfi/XMLParser.java