org.xnap.plugin.opennap.net
Class OpenNapSearchManager

java.lang.Object
  extended by org.xnap.plugin.opennap.net.OpenNapSearchManager
All Implemented Interfaces:
SearchProvider

public class OpenNapSearchManager
extends java.lang.Object
implements SearchProvider


Constructor Summary
OpenNapSearchManager()
           
 
Method Summary
 MediaType getMediaType(java.lang.String realm)
           
 java.lang.String getName()
          Returns the name of the search network that is displayed to the user.
 java.lang.String getRealm(MediaType mt)
           
 MediaType[] getSupportedMediaTypes()
          Returns an array of MediaType objects that are supported by the provider.
 boolean isRealm(java.lang.String realm)
          Returns true, if realm is a valid OpenNap realm.
 Search search(SearchFilter filter)
          Invoked when a search is requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenNapSearchManager

public OpenNapSearchManager()
Method Detail

getMediaType

public MediaType getMediaType(java.lang.String realm)

getRealm

public java.lang.String getRealm(MediaType mt)

getSupportedMediaTypes

public MediaType[] getSupportedMediaTypes()
Description copied from interface: SearchProvider
Returns an array of MediaType objects that are supported by the provider.

Specified by:
getSupportedMediaTypes in interface SearchProvider

getName

public java.lang.String getName()
Description copied from interface: SearchProvider
Returns the name of the search network that is displayed to the user.

Specified by:
getName in interface SearchProvider

isRealm

public boolean isRealm(java.lang.String realm)
Returns true, if realm is a valid OpenNap realm.


search

public Search search(SearchFilter filter)
Invoked when a search is requested.

Specified by:
search in interface SearchProvider


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