public class IsMandatoryFilter extends DepthItemFilter
IsNodeFilter...ALL, NONE| Constructor and Description |
|---|
IsMandatoryFilter() |
IsMandatoryFilter(boolean isMandatory) |
IsMandatoryFilter(boolean isMandatory,
int minDepth,
int maxDepth) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(DumpContext ctx,
boolean isLast)
Dumps some human readable information using the given context.
|
boolean |
matches(Item item)
Returns
true. |
void |
setCondition(String node) |
void |
setIsMandatory(String node) |
matches, setMaxDepth, setMinDepthpublic IsMandatoryFilter()
public IsMandatoryFilter(boolean isMandatory,
int minDepth,
int maxDepth)
public IsMandatoryFilter(boolean isMandatory)
public void setCondition(String node)
public void setIsMandatory(String node)
public boolean matches(Item item) throws RepositoryException
DepthItemFiltertrue. Subclasses can override to implement something
useful that is dependant of the depth.matches in class DepthItemFilteritem - the item to matchtrue if the item matches; false otherwise.RepositoryException - if an error occurs.public void dump(DumpContext ctx, boolean isLast)
dump in interface Dumpabledump in class DepthItemFilterctx - the dump contextisLast - specifies if this is the last element to dump on this levelCopyright © 2010 - 2020 Adobe. All Rights Reserved