@ConsumerType public abstract class ResourceVerifierWrapper extends Object implements ResourceVerifier, javax.faces.FacesWrapper<ResourceVerifier>
ResourceVerifier that can be subclassed in order to decorate another
instance of the same type.| Constructor and Description |
|---|
ResourceVerifierWrapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDependencySatisfied(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent componentResource)
Determines whether or not a
ResourceDependency represented by a UIComponent has already been
satisfied. |
public boolean isDependencySatisfied(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent componentResource)
ResourceVerifierResourceDependency represented by a UIComponent has already been
satisfied.
Since the ResourceVerifier utilizes the delegation pattern, if an implementation in the delegation
chain determines that a resource dependency has been satisfied, then it returns true. Otherwise it
will return the value from the next member in the delegation chain. The default implementation returns
false assuming that a resource dependency has not already been satisfied and therefore needs to be
rendered.
isDependencySatisfied in interface ResourceVerifiertrue when the resource dependency is already satisfied, otherwise false.ResourceVerifier.isDependencySatisfied(FacesContext, javax.faces.component.UIComponent)Copyright © 2020 Liferay, Inc.. All rights reserved.