public abstract class PredefinedBucket extends SimpleBucket
PredefinedBucket is a bucket that is backed by some
definition and decides itself which values to accept.| Constructor and Description |
|---|
PredefinedBucket(Predicate predicate,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
acceptValue(javax.jcr.Value value)
Accepts the
value and increments the counter of this bucket
if the value matches this buckets definition. |
getCount, getPredicate, getValue, incrementpublic PredefinedBucket(Predicate predicate, java.lang.String name)
public abstract void acceptValue(javax.jcr.Value value)
throws javax.jcr.RepositoryException
value and increments the counter of this bucket
if the value matches this buckets definition.value - the value to accept.javax.jcr.RepositoryException - if an error occurs while reading from the
repository.Copyright © 2010 - 2025 Adobe. All Rights Reserved