public final class ModulesXmlParser extends Object
| Constructor and Description |
|---|
ModulesXmlParser()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ModulesDescriptor |
parse(String systemId,
InputStream input)
Parses the given document from the stream.
|
public ModulesDescriptor parse(String systemId, InputStream input) throws NullPointerException, IllegalArgumentException, org.jdom2.JDOMException, IOException
systemId - the identifier of the XML document for error handling and
link resolution.input - the stream to parse the modules XML document.NullPointerException - if input or systemId is
null.IllegalArgumentException - if systemId is blank.org.jdom2.JDOMException - when errors occur in parsingIOException - when an I/O error prevents a document from being fully
parsedCopyright © 2013–2019 FuseSource. All rights reserved.