Skip navigation links
com.bea.content.manager.faces.component
Class ResolverComponent
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.bea.content.manager.faces.component.ResolverComponent
- All Implemented Interfaces
- StateHolder
- Direct Known Subclasses:
- GetPropertyComponent
-
public abstract class ResolverComponent
- extends UIComponentBase
Abstract base class for AttributeResolver components.
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected static final Debug debug
ATTR_FAIL_ON_ERROR
public static final String ATTR_FAIL_ON_ERROR
-
- See Also
- Constants Summary
ATTR_RESULT
public static final String ATTR_RESULT
-
- See Also
- Constants Summary
ResolverComponent
public ResolverComponent()
getFamily
public String getFamily()
-
- Specified by:
getFamily
in class UIComponent
isFailOnError
public boolean isFailOnError()
- Get the value of
failOnError
setFailOnError
public void setFailOnError(boolean failOnError)
- Set the value of
failOnError
getAttributeBinding
protected Object getAttributeBinding(String attrName,
Object defaultValue)
- This method is convenient for retrieving the value binding for a given attribute name, or return the default value if no value binding exists.
-
- Parameters
attrName
- The name of the attribute to retrieve.
defaultValue
- The value to return if no value binding exists.
- Returns
- an object representing resolved value binding.
resolve
public abstract void resolve(Writer writer)
throwMissingAttributeError
protected void throwMissingAttributeError(String attrName)
throwAttributeTypeException
protected void throwAttributeTypeException(String attrName,
Class<?> clazz)
handleException
protected void handleException(Throwable e)
Skip navigation links
Copyright © 2010, Oracle. All rights reserved.