com.ibm.xsp.registry
Interface FacesRenderKitLibrary


public interface FacesRenderKitLibrary

The render kit fragments that have the same render-kit-id. It allows FacesRendererDefinitions with the same rendererType and componentFamily to override each other, so that the last one registered will used.

This contains redundant methods, but the entire class is redundant - it's only a convenience for accessing all those FacesProject's FacesLibraryFragment's FacesRenderKitFragments that have the same render-kit-id.


Method Summary
 java.util.List<java.lang.String> getAliases()
          Returns unique String aliases.
 FacesRenderKitLibrary getBaseRenderKitLibrary()
          Get the renderKitLibrary this one extends,if any.
 FacesRendererDefinition getNonInheritedRenderer(java.lang.String key)
           
 java.util.List<java.lang.String> getNonInheritedRendererKeys()
          The renderer keys (see RegistryUtil.getRendererId(String, String) ) for those renderers defined in this renderKit's fragments, as opposed to inherited from ancestral renderKits.
 java.util.List<FacesRenderKitFragment> getNonInheritedRenderKitFragments()
           
 FacesRegistry getRegistry()
          The FacesRegistry this FacesLibrary is registered in.
 FacesRendererDefinition getRenderer(java.lang.String key)
          Returns the renderer for a given key, as defined by RegistryUtil.getRendererId(String, String).
 java.lang.String getRenderKitId()
           
 boolean isRenderKitAlias(java.lang.String alias)
          Checks if the given string is defined as a renderKitAlias in any renderKitFragment
 

Method Detail

getRenderKitId

java.lang.String getRenderKitId()
Returns:
The Id of this render kit.

getNonInheritedRenderKitFragments

java.util.List<FacesRenderKitFragment> getNonInheritedRenderKitFragments()
Returns:
The fragments that have this exact render kit id. Does not include the fragments from the base parent kit defined by getBaseRenderKitLibrary().

getRegistry

FacesRegistry getRegistry()
The FacesRegistry this FacesLibrary is registered in.


getRenderer

FacesRendererDefinition getRenderer(java.lang.String key)
Returns the renderer for a given key, as defined by RegistryUtil.getRendererId(String, String).

Parameters:
key -
Returns:

getNonInheritedRenderer

FacesRendererDefinition getNonInheritedRenderer(java.lang.String key)
Parameters:
rendererType -
componentFamily -
Returns:
The definition of the specified renderer in this library, without applying the inheritance rules.

getNonInheritedRendererKeys

java.util.List<java.lang.String> getNonInheritedRendererKeys()
The renderer keys (see RegistryUtil.getRendererId(String, String) ) for those renderers defined in this renderKit's fragments, as opposed to inherited from ancestral renderKits.

Returns:

getAliases

java.util.List<java.lang.String> getAliases()
Returns unique String aliases. (duplicates are removed)

Returns:

isRenderKitAlias

boolean isRenderKitAlias(java.lang.String alias)
Checks if the given string is defined as a renderKitAlias in any renderKitFragment

Parameters:
alias -
Returns:

getBaseRenderKitLibrary

FacesRenderKitLibrary getBaseRenderKitLibrary()
Get the renderKitLibrary this one extends,if any.

Returns: