com.sun.syndication.feed.module

Interface Extendable

public interface Extendable

Objects that can have modules are Extendable.

Author: Dave Johnson

Method Summary
ModulegetModule(String uri)
Returns the module identified by a given URI.
ListgetModules()
Returns the entry modules.
voidsetModules(List modules)
Sets the entry modules.

Method Detail

getModule

public Module getModule(String uri)
Returns the module identified by a given URI.

Parameters: uri the URI of the ModuleImpl.

Returns: The module with the given URI, null if none.

getModules

public List getModules()
Returns the entry modules.

Returns: a list of ModuleImpl elements with the entry modules, an empty list if none.

setModules

public void setModules(List modules)
Sets the entry modules.

Parameters: modules the list of ModuleImpl elements with the entry modules to set, an empty list or null if none.

Copyright © Sun Microsystems. All Rights Reserved.