search/indexer/mmm-search-indexer-api/src/test/java/net/sf/mmm/search/indexer/base/config/SearchIndexerConfigurationBeanTest.java
/**
   * This method serializes the given <code>configuration</code> to XML and
   * dumps this formatted to the console.
   * 
   * @param context is the {@link JAXBContext}.
   * @param configuration is the configuration-bean to dump.
   * @throws Exception if something goes wrong.
   */
This method serializes the given configuration to XML and
dumps this formatted to the console.

@param context is the  JAXBContext.
@param configuration is the configuration-bean to dump.
@throws Exception if something goes wrong.
This method serializes the given configuration to XML and dumps this formatted to the console . @param context is the JAXBContext . @param configuration is the configuration - bean to dump . @throws Exception if something goes wrong .
public void dumpAsXml(JAXBContext context, SearchIndexerConfiguration configuration)
      throws Exception {
    Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
    context.createMarshaller().marshal(configuration, document);
    DomUtilImpl.getInstance().writeXml(document, System.out, true);
  }
public void dumpAsXml ( JAXBContext context , SearchIndexerConfiguration configuration ) throws Exception { Document document = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) . newDocument ( ) ; context . createMarshaller ( ) . marshal ( configuration , document ) ; DomUtilImpl . getInstance ( ) . writeXml ( document , System . out , true ) ; }
This method serializes the given <code>configuration</code> to XML and
 dumps this formatted to the console.
This method serializes the given <code > configuration< / code > to XML and dumps this formatted to the console .