public class ConfigReader
Used internally by the JCSP network infrastructure to load a configuration from an XML file.
This is not a full XML reader, and is capable of reading only a subset of XML.
Modifiers | Name | Description |
---|---|---|
static class |
ConfigReader.XMLValidationException |
Thrown in the event of a semantic error in the parsed XML file. |
Constructor and description |
---|
ConfigReader
(InputStream instream) Constructs a new configuration from the given source stream. |
Constructs a new configuration from the given source stream. This will attempt to parse the file using recursive-descent approach.
instream
- source of the XML configuration.Diagnostic routine. This can load an XML configuration file and then display the configuration structure constructed. Specify the name of the file as the first command line parameter.
JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk