org.alfresco.web.ui.common.component.evaluator
Class BooleanEvaluator

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
              extended by org.alfresco.web.ui.common.component.evaluator.BaseEvaluator
                  extended by org.alfresco.web.ui.common.component.evaluator.BooleanEvaluator
All Implemented Interfaces:
javax.faces.component.StateHolder

public class BooleanEvaluator
extends BaseEvaluator


Field Summary
 
Fields inherited from class org.alfresco.web.ui.common.component.evaluator.BaseEvaluator
s_logger
 
Constructor Summary
BooleanEvaluator()
           
 
Method Summary
 boolean evaluate()
          Evaluate against the component attributes.
 
Methods inherited from class org.alfresco.web.ui.common.component.evaluator.BaseEvaluator
encodeBegin, encodeChildren, encodeEnd, getFamily, getRendersChildren, getValue, restoreState, saveState, setValue
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanEvaluator

public BooleanEvaluator()
Method Detail

evaluate

public boolean evaluate()
Evaluate against the component attributes. Return true to allow the inner components to render, false to hide them during rendering.

Specified by:
evaluate in class BaseEvaluator
Returns:
true to allow rendering of child components, false otherwise


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.