Package de.cuioss.test.jsf.mocks
Class CuiMockComponent
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- de.cuioss.test.jsf.mocks.CuiMockComponent
-
- All Implemented Interfaces:
EventListener,PartialStateHolder,StateHolder,TransientStateHolder,ComponentSystemEventListener,FacesListener,SystemEventListenerHolder
public class CuiMockComponent extends UIComponentBase
Simple Mock component to be used for cases where you need an "any-component"- Author:
- Oliver Wolff
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_TYPE"mockComponentType"static StringFAMILY"mockFamily"static StringRENDERER_TYPE"mockRendererType"-
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
Constructors Constructor Description CuiMockComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFamily()StringgetRendererType()-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
-
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
-
-
-
-
Field Detail
-
FAMILY
public static final String FAMILY
"mockFamily"- See Also:
- Constant Field Values
-
RENDERER_TYPE
public static final String RENDERER_TYPE
"mockRendererType"- See Also:
- Constant Field Values
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
"mockComponentType"- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CuiMockComponent
public CuiMockComponent()
-
-
Method Detail
-
getFamily
public String getFamily()
- Specified by:
getFamilyin classUIComponent
-
getRendererType
public String getRendererType()
- Overrides:
getRendererTypein classUIComponentBase
-
-