public class AndRenderCondition extends AbstractCompositeRenderCondition
true
when all the sub conditions are
returning true
; false
otherwise.Constructor and Description |
---|
AndRenderCondition(SlingHttpServletRequest request,
SlingHttpServletResponse response,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
check()
Returns
true if the component should be rendered. |
public AndRenderCondition(SlingHttpServletRequest request, SlingHttpServletResponse response, Resource resource)
public boolean check() throws javax.servlet.ServletException, java.io.IOException
RenderCondition
true
if the component should be rendered.
false
otherwise.true
if the component should be rendered,
false
otherwisejavax.servlet.ServletException
- in case a servlet error occursjava.io.IOException
- in case an error occurs during IO"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"