Class NotRenderCondition
- java.lang.Object
-
- com.adobe.granite.ui.components.rendercondition.AbstractCompositeRenderCondition
-
- com.adobe.granite.ui.components.rendercondition.NotRenderCondition
-
- All Implemented Interfaces:
RenderCondition
public class NotRenderCondition extends AbstractCompositeRenderCondition
The condition that returnstrue
when all the sub conditions are returningfalse
;true
otherwise.
-
-
Constructor Summary
Constructors Constructor Description NotRenderCondition(SlingHttpServletRequest request, SlingHttpServletResponse response, Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
check()
Returnstrue
if the component should be rendered;false
otherwise.
-
-
-
Constructor Detail
-
NotRenderCondition
public NotRenderCondition(@Nonnull SlingHttpServletRequest request, @Nonnull SlingHttpServletResponse response, @Nonnull Resource resource)
-
-
Method Detail
-
check
public boolean check() throws ServletException, java.io.IOException
Description copied from interface:RenderCondition
Returnstrue
if the component should be rendered;false
otherwise.- Returns:
true
if the component should be rendered,false
otherwise- Throws:
ServletException
- in case a servlet error occursjava.io.IOException
- in case an IO error occurs
-
-