org.ocap.hn
Interface ContentServer

All Superinterfaces:
NetModule

public interface ContentServer
extends NetModule

Class representing a NetModule which serves content.


Field Summary
 
Fields inherited from interface org.ocap.hn.NetModule
CONTENT_LIST, CONTENT_MANAGER, CONTENT_RENDERER, CONTENT_SERVER, PROP_CONTROL_URL, PROP_DESCRIPTION_URL, PROP_EventSub_URL, PROP_NETMODULE_ID
 
Method Summary
 ContentContainer getRootContainer()
           
 String[] getSearchCapabilities()
          Returns the list of property keys which applications can search against on this ContentServer using the ContentDatabase requestEntries() method.
 
Methods inherited from interface org.ocap.hn.NetModule
addNetModuleEventListener, getDevice, getKeys, getNetModuleId, getNetModuleType, getProperty, removeNetModuleEventListener
 

Method Detail

getRootContainer

ContentContainer getRootContainer()

getSearchCapabilities

String[] getSearchCapabilities()
Returns the list of property keys which applications can search against on this ContentServer using the ContentDatabase requestEntries() method. A return of an array with zero length indicates that this server supports no searchingfunctionality. A return containing "*" indicates that any key associated with any content entry on this server may be used.

Returns:
the array of supported search property keys