public class CapabilityRenderCondition extends java.lang.Object implements RenderCondition
Session.hasCapability(String, Object, Object[]).| Constructor and Description |
|---|
CapabilityRenderCondition(Session session,
java.lang.String[] paths,
java.lang.String[] methods) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check()
Returns
true if the component should be rendered; false
otherwise. |
public CapabilityRenderCondition(Session session, java.lang.String[] paths, java.lang.String[] methods) throws RepositoryException
RepositoryExceptionpublic boolean check()
throws javax.servlet.ServletException
RenderConditiontrue if the component should be rendered; false
otherwise.check in interface RenderConditiontrue if the component should be rendered, false
otherwisejavax.servlet.ServletException - in case a servlet error occursCopyright © 2010 - 2023 Adobe. All Rights Reserved