| |
|
| java.lang.Object net.myvietnam.mvncore.configuration.ConfigurationXMLReader net.myvietnam.mvncore.configuration.BaseConfigurationXMLReader
BaseConfigurationXMLReader | public class BaseConfigurationXMLReader extends ConfigurationXMLReader (Code) | | A specialized SAX2 XML parser that processes configuration objects.
This class mimics to be a SAX compliant XML parser. It is able to iterate
over the keys in a configuration object and to generate corresponding SAX
events. By registering a ContentHandler at an instance
it is possible to perform XML processing on a configuration object.
author: Oliver Heger version: $Id: BaseConfigurationXMLReader.java,v 1.1 2003/12/09 08:25:30 huumai Exp $ |
BaseConfigurationXMLReader | public BaseConfigurationXMLReader()(Code) | | Creates a new instance of BaseConfigurationXMLReader .
|
BaseConfigurationXMLReader | public BaseConfigurationXMLReader(Configuration conf)(Code) | | Creates a new instance of BaseConfigurationXMLReader and
sets the configuration object to be parsed.
Parameters: conf - the configuration to be parsed |
getConfiguration | public Configuration getConfiguration()(Code) | | Returns the actual configuration to be processed.
the actual configuration |
getParsedConfiguration | public Configuration getParsedConfiguration()(Code) | | Returns the configuration to be processed.
the actual configuration |
processKeys | protected void processKeys() throws IOException, SAXException(Code) | | The main SAX event generation method. This element uses an internal
HierarchicalConfigurationConverter object to iterate over
all keys in the actual configuration and to generate corresponding SAX
events.
throws: IOException - if no configuration object is specified throws: SAXException - if a SAXException occurs during parsing |
setConfiguration | public void setConfiguration(Configuration conf)(Code) | | Sets the configuration to be processed.
Parameters: conf - the configuration |
Fields inherited from net.myvietnam.mvncore.configuration.ConfigurationXMLReader | final protected static String NS_URI(Code)(Java Doc)
|
|
|
|