/** * Serialize the configuration to a ContentHandler * @param handler a <code>ContentHandler</code> to serialize to * @param source a <code>Configuration</code> value * @throws SAXException if an error occurs * @throws ConfigurationException if an error occurs */ public void serialize( final ContentHandler handler, final Configuration source ) throws SAXException, ConfigurationException { handler.startDocument(); serializeElement( handler, new NamespaceSupport(), source ); handler.endDocument(); }
serializeElement( handler, namespaceSupport, children[ i ] );