public class IsMandatoryPredicate extends DepthPredicate
IsMandatoryFilter
...Modifier and Type | Field and Description |
---|---|
protected boolean |
isMandatory |
maxDepth, minDepth
Constructor and Description |
---|
IsMandatoryPredicate() |
IsMandatoryPredicate(boolean isMandatory) |
IsMandatoryPredicate(boolean isMandatory,
int minDepth,
int maxDepth) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
matches(javax.jcr.Item item)
Returns
true . |
evaluate
public IsMandatoryPredicate()
public IsMandatoryPredicate(boolean isMandatory, int minDepth, int maxDepth)
public IsMandatoryPredicate(boolean isMandatory)
protected boolean matches(javax.jcr.Item item) throws javax.jcr.RepositoryException
DepthPredicate
true
. Subclasses can override to implement something
useful that is dependant of the depth.matches
in class DepthPredicate
item
- the item to matchtrue
if the item matches; false
otherwise.javax.jcr.RepositoryException
- if an error occurs.DepthPredicate.matches(javax.jcr.Item)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.