|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.search.SearchProviderContainer
public class SearchProviderContainer
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 |
---|
public SearchProviderContainer(java.lang.String name)
Method Detail |
---|
public void add(SearchProvider provider)
public MediaType[] getSupportedMediaTypes()
getSupportedMediaTypes
in interface SearchProvider
public java.lang.String getName()
getName
in interface SearchProvider
public void remove(SearchProvider provider)
public Search search(SearchFilter filter)
search
in interface SearchProvider
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |