| Package | Description |
|---|---|
| cdc.util.data.util | |
| cdc.util.data.xml |
| Modifier and Type | Field | Description |
|---|---|---|
static AttributePredicate |
AttributePredicate.ANY_ATTRIBUTE |
An attribute predicate that always returns
true. |
static AttributePredicate |
AttributePredicate.IS_EMPTY_ATTRIBUTE |
An attribute predicate that returns
true when an attribute value is null or empty. |
static AttributePredicate |
AttributePredicate.IS_NOT_EMPTY_ATTRIBUTE |
An attribute predicate that returns
true when an attribute value is neither null nor empty. |
| Modifier and Type | Method | Description |
|---|---|---|
default AttributePredicate |
AttributePredicate.and(AttributePredicate other) |
Returns a predicate that is the logical
and combination of this one and another one. |
static AttributePredicate |
AttributePredicate.fromNames(java.util.Collection<java.lang.String> names) |
Returns an AttributePredicate that returns true when the attribute has a names belonging to a collection.
|
static AttributePredicate |
AttributePredicate.fromPaths(java.util.Collection<SPath> paths) |
|
default AttributePredicate |
AttributePredicate.not() |
|
default AttributePredicate |
AttributePredicate.or(AttributePredicate other) |
Returns a predicate that is the logical
or combination of this one and another one. |
| Modifier and Type | Method | Description |
|---|---|---|
default AttributePredicate |
AttributePredicate.and(AttributePredicate other) |
Returns a predicate that is the logical
and combination of this one and another one. |
default AttributePredicate |
AttributePredicate.or(AttributePredicate other) |
Returns a predicate that is the logical
or combination of this one and another one. |
static void |
DataUtil.removeMatchingAttributes(Parent parent,
AttributePredicate predicate,
cdc.util.function.Evaluator<? super Parent> evaluator) |
Removes matching attributes.
|
static void |
DataUtil.setNameOfMatchingAttributes(Parent parent,
AttributePredicate predicate,
AttributeNameConverter converter,
cdc.util.function.Evaluator<? super Parent> evaluator) |
Sets names of matching attributes.
|
static void |
DataUtil.setValueOfMatchingAttributes(Parent parent,
AttributePredicate predicate,
AttributeValueConverter converter,
cdc.util.function.Evaluator<? super Parent> evaluator) |
Sets value of matching attributes.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected AttributePredicate |
XmlDataReader.attributeFilter |
The filter attributes.
|
| Modifier and Type | Method | Description |
|---|---|---|
AttributePredicate |
XmlDataReader.getAttributeFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
XmlDataReader.setAttributeFilter(AttributePredicate filter) |
Sets the attribute filter.
|
Copyright © 2019. All rights reserved.