|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.IsMandatoryPredicate
public class IsMandatoryPredicate
IsMandatoryFilter...
| Field Summary | |
|---|---|
protected boolean |
isMandatory
|
| Fields inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate |
|---|
maxDepth, minDepth |
| Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate |
|---|
TRUE |
| Constructor Summary | |
|---|---|
IsMandatoryPredicate()
|
|
IsMandatoryPredicate(boolean isMandatory)
|
|
IsMandatoryPredicate(boolean isMandatory,
int minDepth,
int maxDepth)
|
|
| Method Summary | |
|---|---|
protected boolean |
matches(Item item)
Returns true. |
| Methods inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate |
|---|
evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final boolean isMandatory
| Constructor Detail |
|---|
public IsMandatoryPredicate()
public IsMandatoryPredicate(boolean isMandatory,
int minDepth,
int maxDepth)
public IsMandatoryPredicate(boolean isMandatory)
| Method Detail |
|---|
protected boolean matches(Item item)
throws RepositoryException
DepthPredicatetrue. Subclasses can override to implement something
useful that is dependant of the depth.
matches in class DepthPredicateitem - the item to match
true if the item matches; false otherwise.
RepositoryException - if an error occurs.DepthPredicate.matches(javax.jcr.Item)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||