search/indexer/mmm-search-indexer-api/src/main/java/net/sf/mmm/search/indexer/base/strategy/AbstractSearchIndexerUpdateStrategy.java
/**
   * This method indexes as single {@link SearchIndexerDataLocation location} by
   * recursively crawling the {@link BrowsableResource resources}.
   * 
   * @param arguments are the {@link UpdateStrategyArgumentsBean}.
   * @param location is the {@link SearchIndexerDataLocation} to index.
   * @param entryUpdateVisitor is the {@link EntryUpdateVisitor}.
   */
This method indexes as single  SearchIndexerDataLocation location by
recursively crawling the  BrowsableResource resources.

@param arguments are the  UpdateStrategyArgumentsBean.
@param location is the  SearchIndexerDataLocation to index.
This method indexes as single SearchIndexerDataLocation location by recursively crawling the BrowsableResource resources . @param arguments are the UpdateStrategyArgumentsBean . @param location is the SearchIndexerDataLocation to index .
@SuppressWarnings("unchecked")
  public final void indexRecursive(UpdateStrategyArguments arguments,
      SearchIndexerDataLocation location, EntryUpdateVisitor entryUpdateVisitor) {
    String locationUri = location.getLocationUri();
    BrowsableResource resource = getIndexerDependencies().getBrowsableResourceFactory()
        .createBrowsableResource(locationUri);
    Set<String> entryUriSet = arguments.getContext().getVariable(CONTEXT_VARIABLE_RESOURCE_URI_SET,
        Set.class);
    if (entryUriSet == null) {
      entryUriSet = new HashSet<String>();
      arguments.getContext().setVariable(CONTEXT_VARIABLE_RESOURCE_URI_SET, entryUriSet);
    }
    indexRecursive(arguments, location, resource, entryUriSet, entryUpdateVisitor, resource);
  }
@ SuppressWarnings ( "unchecked" ) public final void indexRecursive ( UpdateStrategyArguments arguments , SearchIndexerDataLocation location , EntryUpdateVisitor entryUpdateVisitor ) { String locationUri = location . getLocationUri ( ) ; BrowsableResource resource = getIndexerDependencies ( ) . getBrowsableResourceFactory ( ) . createBrowsableResource ( locationUri ) ; Set < String > entryUriSet = arguments . getContext ( ) . getVariable ( CONTEXT_VARIABLE_RESOURCE_URI_SET , Set . class ) ; if ( entryUriSet == null ) { entryUriSet = new HashSet < String > ( ) ; arguments . getContext ( ) . setVariable ( CONTEXT_VARIABLE_RESOURCE_URI_SET , entryUriSet ) ; } indexRecursive ( arguments , location , resource , entryUriSet , entryUpdateVisitor , resource ) ; }
This method indexes as single {@link SearchIndexerDataLocation location} by
 recursively crawling the {@link BrowsableResource resources}.
This method indexes as single { @link SearchIndexerDataLocation location } by recursively crawling the { @link BrowsableResource resources } .