/** * This method is public as an implementation side effect and should never be called directly. */ @Override public void startDocument() throws SAXException { try {builder.startConfiguration();} catch(Exception e) {throw new SAXParseException(e.getMessage(), locator, e);} }
/** * Writes the configuration data to the specified builder. * @param builder object that will receive configuration building messages. * @throws ConfigurationException if any error occurs while going through the configuration tree. */ public void write(ConfigurationBuilder builder) throws ConfigurationException { builder.startConfiguration(); build(builder, root); builder.endConfiguration(); }