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 returnstruewhen all the sub conditions are returningfalse;trueotherwise.
-
-
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 booleancheck()Returnstrueif the component should be rendered;falseotherwise.
-
-
-
Constructor Detail
-
NotRenderCondition
public NotRenderCondition(@Nonnull SlingHttpServletRequest request, @Nonnull SlingHttpServletResponse response, @Nonnull Resource resource)
-
-
Method Detail
-
check
public boolean check() throws javax.servlet.ServletException, java.io.IOExceptionDescription copied from interface:RenderConditionReturnstrueif the component should be rendered;falseotherwise.- Returns:
trueif the component should be rendered,falseotherwise- Throws:
javax.servlet.ServletException- in case a servlet error occursjava.io.IOException- in case an IO error occurs
-
-