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
RepositoryException
public boolean check() throws ServletException
RenderCondition
true
if the component should be rendered; false
otherwise.check
in interface RenderCondition
true
if the component should be rendered, false
otherwiseServletException
- in case a servlet error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved