org.richfaces.component
Class UIResource

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.richfaces.component.UITransient
          extended by org.richfaces.component.UIResource
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class UIResource
extends UITransient

Author:
asmirnov@exadel.com

Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
UIResource(javax.faces.component.UIComponent parent, String name, String library)
           
 
Method Summary
protected  Object getAttribute(Object key)
           
 String getFamily()
           
 String getLibrary()
          

 String getName()
          

protected  javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
           
 String getRendererType()
           
 String getRendererType(javax.faces.context.FacesContext context)
           
protected  boolean hasAttribute(Object key)
           
protected  Object setAttribute(String key, Object value)
           
 
Methods inherited from class org.richfaces.component.UITransient
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRendersChildren, getValueBinding, getValueExpression, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression
 
Methods inherited from class javax.faces.component.UIComponent
clearInitialState, encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFacetCount, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, initialStateMarked, invokeOnComponent, isCompositeComponent, isInView, isVisitable, markInitialState, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIResource

public UIResource(javax.faces.component.UIComponent parent,
                  String name,
                  String library)
Method Detail

hasAttribute

protected boolean hasAttribute(Object key)
Specified by:
hasAttribute in class UITransient

setAttribute

protected Object setAttribute(String key,
                              Object value)
Specified by:
setAttribute in class UITransient

getAttribute

protected Object getAttribute(Object key)
Specified by:
getAttribute in class UITransient

getName

public String getName()

Returns:
the name

getLibrary

public String getLibrary()

Returns:
the library

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getRendererType

public String getRendererType()
Overrides:
getRendererType in class UITransient

getRendererType

public String getRendererType(javax.faces.context.FacesContext context)

getRenderer

protected javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
Overrides:
getRenderer in class UITransient


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.