|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.marsching.flexiparse.parser.XMLConfigurationReader
public class XMLConfigurationReader
Reads a XML configuration file and returns handler configurations.
| Constructor Summary | |
|---|---|
XMLConfigurationReader(Parser parser)
Constructs a new configuration reader that will configure the supplied parser when the readConfiguration(InputSource) method is called. |
|
| Method Summary | |
|---|---|
void |
readConfiguration(InputSource configurationSource)
Parses the file provided by the InputSource and configures the parser attached to this reader using the configuration data in the file. |
void |
readConfiguration(InputSource source,
ClassLoader classLoader)
Parses the file provided by the InputSource and configures the parser attached to this reader using the configuration data in the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLConfigurationReader(Parser parser)
readConfiguration(InputSource) method is called.
parser - parser that will be configured by this reader| Method Detail |
|---|
public void readConfiguration(InputSource source,
ClassLoader classLoader)
throws ParserException
source - input source to read configuration fromclassLoader - class loader that is used to load handler classes
ParserException - if an error occurs while parsing
the configuration
public void readConfiguration(InputSource configurationSource)
throws ParserException
source - input source to read configuration from
ParserException - if an error occurs while parsing
the configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||