public class OrRenderCondition extends AbstractCompositeRenderCondition
true
when any of the sub conditions
is returning true
; false
otherwise.Constructor and Description |
---|
OrRenderCondition(SlingHttpServletRequest request,
SlingHttpServletResponse response,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
check()
Returns
true if the component should be rendered. |
public OrRenderCondition(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"