org.xnap.search
Class SearchProviderContainer

java.lang.Object
  extended by org.xnap.search.SearchProviderContainer
All Implemented Interfaces:
SearchProvider

public class SearchProviderContainer
extends java.lang.Object
implements SearchProvider


Nested Class Summary
 class SearchProviderContainer.MediaTypeComparator
           
 
Constructor Summary
SearchProviderContainer(java.lang.String name)
           
 
Method Summary
 void add(SearchProvider provider)
           
 java.lang.String getName()
          Returns the name.
 MediaType[] getSupportedMediaTypes()
          Returns the average of all supported media types.
 void remove(SearchProvider provider)
           
 Search search(SearchFilter filter)
          Returns a container that searches all providers.
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchProviderContainer

public SearchProviderContainer(java.lang.String name)
Method Detail

add

public void add(SearchProvider provider)

getSupportedMediaTypes

public MediaType[] getSupportedMediaTypes()
Returns the average of all supported media types.

Specified by:
getSupportedMediaTypes in interface SearchProvider

getName

public java.lang.String getName()
Returns the name.

Specified by:
getName in interface SearchProvider

remove

public void remove(SearchProvider provider)

search

public Search search(SearchFilter filter)
Returns a container that searches all providers.

Specified by:
search in interface SearchProvider

size

public int size()


Copyright © 2001-2005 XNap Team. All Rights Reserved.