org.jboss.cdi.tck.tests.implementation.simple.definition
Class MockUIComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.jboss.cdi.tck.tests.implementation.simple.definition.MockUIComponent
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class MockUIComponent
extends javax.faces.component.UIComponent


Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
MockUIComponent()
           
 
Method Summary
protected  void addFacesListener(javax.faces.event.FacesListener arg0)
           
 void broadcast(javax.faces.event.FacesEvent arg0)
           
 void decode(javax.faces.context.FacesContext arg0)
           
 void encodeBegin(javax.faces.context.FacesContext arg0)
           
 void encodeEnd(javax.faces.context.FacesContext arg0)
           
 void encodeChildren(javax.faces.context.FacesContext arg0)
           
 javax.faces.component.UIComponent findComponent(String arg0)
           
 Map<String,Object> getAttributes()
           
 String getClientId(javax.faces.context.FacesContext arg0)
           
protected  javax.faces.context.FacesContext getFacesContext()
           
protected  javax.faces.event.FacesListener[] getFacesListeners(Class arg0)
           
 javax.faces.component.UIComponent getFacet(String arg0)
           
 Map<String,javax.faces.component.UIComponent> getFacets()
           
 Iterator<javax.faces.component.UIComponent> getFacetsAndChildren()
           
 String getFamily()
           
 int getChildCount()
           
 List<javax.faces.component.UIComponent> getChildren()
           
 String getId()
           
 javax.faces.component.UIComponent getParent()
           
protected  javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext arg0)
           
 String getRendererType()
           
 boolean getRendersChildren()
           
 javax.faces.el.ValueBinding getValueBinding(String arg0)
           
 boolean isRendered()
           
 boolean isTransient()
           
 void processDecodes(javax.faces.context.FacesContext arg0)
           
 void processRestoreState(javax.faces.context.FacesContext arg0, Object arg1)
           
 Object processSaveState(javax.faces.context.FacesContext arg0)
           
 void processUpdates(javax.faces.context.FacesContext arg0)
           
 void processValidators(javax.faces.context.FacesContext arg0)
           
 void queueEvent(javax.faces.event.FacesEvent arg0)
           
protected  void removeFacesListener(javax.faces.event.FacesListener arg0)
           
 void restoreState(javax.faces.context.FacesContext arg0, Object arg1)
           
 Object saveState(javax.faces.context.FacesContext arg0)
           
 void setId(String arg0)
           
 void setParent(javax.faces.component.UIComponent arg0)
           
 void setRendered(boolean arg0)
           
 void setRendererType(String arg0)
           
 void setTransient(boolean arg0)
           
 void setValueBinding(String arg0, javax.faces.el.ValueBinding arg1)
           
 
Methods inherited from class javax.faces.component.UIComponent
clearInitialState, encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFacetCount, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, invokeOnComponent, isCompositeComponent, isInView, isVisitable, markInitialState, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockUIComponent

public MockUIComponent()
Method Detail

addFacesListener

protected void addFacesListener(javax.faces.event.FacesListener arg0)
Specified by:
addFacesListener in class javax.faces.component.UIComponent

broadcast

public void broadcast(javax.faces.event.FacesEvent arg0)
               throws javax.faces.event.AbortProcessingException
Specified by:
broadcast in class javax.faces.component.UIComponent
Throws:
javax.faces.event.AbortProcessingException

decode

public void decode(javax.faces.context.FacesContext arg0)
Specified by:
decode in class javax.faces.component.UIComponent

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext arg0)
                 throws IOException
Specified by:
encodeBegin in class javax.faces.component.UIComponent
Throws:
IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext arg0)
                    throws IOException
Specified by:
encodeChildren in class javax.faces.component.UIComponent
Throws:
IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext arg0)
               throws IOException
Specified by:
encodeEnd in class javax.faces.component.UIComponent
Throws:
IOException

findComponent

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

getAttributes

public Map<String,Object> getAttributes()
Specified by:
getAttributes in class javax.faces.component.UIComponent

getChildCount

public int getChildCount()
Specified by:
getChildCount in class javax.faces.component.UIComponent

getChildren

public List<javax.faces.component.UIComponent> getChildren()
Specified by:
getChildren in class javax.faces.component.UIComponent

getClientId

public String getClientId(javax.faces.context.FacesContext arg0)
Specified by:
getClientId in class javax.faces.component.UIComponent

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Specified by:
getFacesContext in class javax.faces.component.UIComponent

getFacesListeners

protected javax.faces.event.FacesListener[] getFacesListeners(Class arg0)
Specified by:
getFacesListeners in class javax.faces.component.UIComponent

getFacet

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

getFacets

public Map<String,javax.faces.component.UIComponent> getFacets()
Specified by:
getFacets in class javax.faces.component.UIComponent

getFacetsAndChildren

public Iterator<javax.faces.component.UIComponent> getFacetsAndChildren()
Specified by:
getFacetsAndChildren in class javax.faces.component.UIComponent

getFamily

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

getId

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

getParent

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

getRenderer

protected javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext arg0)
Specified by:
getRenderer in class javax.faces.component.UIComponent

getRendererType

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

getRendersChildren

public boolean getRendersChildren()
Specified by:
getRendersChildren in class javax.faces.component.UIComponent

getValueBinding

public javax.faces.el.ValueBinding getValueBinding(String arg0)
Specified by:
getValueBinding in class javax.faces.component.UIComponent

isRendered

public boolean isRendered()
Specified by:
isRendered in class javax.faces.component.UIComponent

processDecodes

public void processDecodes(javax.faces.context.FacesContext arg0)
Specified by:
processDecodes in class javax.faces.component.UIComponent

processRestoreState

public void processRestoreState(javax.faces.context.FacesContext arg0,
                                Object arg1)
Specified by:
processRestoreState in class javax.faces.component.UIComponent

processSaveState

public Object processSaveState(javax.faces.context.FacesContext arg0)
Specified by:
processSaveState in class javax.faces.component.UIComponent

processUpdates

public void processUpdates(javax.faces.context.FacesContext arg0)
Specified by:
processUpdates in class javax.faces.component.UIComponent

processValidators

public void processValidators(javax.faces.context.FacesContext arg0)
Specified by:
processValidators in class javax.faces.component.UIComponent

queueEvent

public void queueEvent(javax.faces.event.FacesEvent arg0)
Specified by:
queueEvent in class javax.faces.component.UIComponent

removeFacesListener

protected void removeFacesListener(javax.faces.event.FacesListener arg0)
Specified by:
removeFacesListener in class javax.faces.component.UIComponent

setId

public void setId(String arg0)
Specified by:
setId in class javax.faces.component.UIComponent

setParent

public void setParent(javax.faces.component.UIComponent arg0)
Specified by:
setParent in class javax.faces.component.UIComponent

setRendered

public void setRendered(boolean arg0)
Specified by:
setRendered in class javax.faces.component.UIComponent

setRendererType

public void setRendererType(String arg0)
Specified by:
setRendererType in class javax.faces.component.UIComponent

setValueBinding

public void setValueBinding(String arg0,
                            javax.faces.el.ValueBinding arg1)
Specified by:
setValueBinding in class javax.faces.component.UIComponent

isTransient

public boolean isTransient()

restoreState

public void restoreState(javax.faces.context.FacesContext arg0,
                         Object arg1)

saveState

public Object saveState(javax.faces.context.FacesContext arg0)

setTransient

public void setTransient(boolean arg0)


Copyright © 2008-2013 Seam Framework. All Rights Reserved.