Class HierarchicalConfigurationXMLReader

  • All Implemented Interfaces:
    org.xml.sax.XMLReader

    public class HierarchicalConfigurationXMLReader
    extends ConfigurationXMLReader

    A specialized SAX2 XML parser that "parses" hierarchical configuration objects.

    This class mimics to be a SAX conform XML parser. Instead of parsing XML documents it processes a Configuration object and generates SAX events for the single properties defined there. This enables the whole world of XML processing for configuration objects.

    The HierarchicalConfiguration object to be parsed can be specified using a constructor or the setConfiguration() method. This object will be processed by the parse() methods. Note that these methods ignore their argument.

    Version:
    $Id: HierarchicalConfigurationXMLReader.java 1209998 2011-12-03 20:31:16Z oheger $
    Author:
    Commons Configuration team