| Package | Description |
|---|---|
| cdc.util.data.util | |
| cdc.util.data.xml |
| Modifier and Type | Field | Description |
|---|---|---|
static AttributeValueConverter |
AttributeValueConverter.INDENTITY |
An attribute value converter that returns the value unchanged.
|
| Modifier and Type | Method | Description |
|---|---|---|
default AttributeValueConverter |
AttributeValueConverter.andThen(AttributeValueConverter other) |
Returns a converter that first applies this converter and then
other. |
default AttributeValueConverter |
AttributeValueConverter.compose(AttributeValueConverter other) |
Returns a converter that first applies
other then this converter. |
static AttributeValueConverter |
AttributeValueConverter.fromNameMap(java.util.Map<java.lang.String,java.lang.String> map) |
Creates a new AttributeValueConverter from an attribute name to value map.
|
static AttributeValueConverter |
AttributeValueConverter.fromPathMap(java.util.Map<SPath,java.lang.String> map) |
|
static AttributeValueConverter |
AttributeValueConverter.fromString(java.lang.String s) |
|
static AttributeValueConverter |
AttributeValueConverter.fromValueFunction(java.util.function.Function<java.lang.String,java.lang.String> function) |
Creates a new AttributeValueConverter from a value converter function.
|
static AttributeValueConverter |
AttributeValueConverter.fromValueMap(java.util.Map<java.lang.String,java.lang.String> map) |
Creates a new AttributeValueConverter from an attribute value map.
|
static AttributeValueConverter |
AttributeValueConverter.scramble(boolean preserveSpaces) |
| Modifier and Type | Method | Description |
|---|---|---|
default AttributeValueConverter |
AttributeValueConverter.andThen(AttributeValueConverter other) |
Returns a converter that first applies this converter and then
other. |
default AttributeValueConverter |
AttributeValueConverter.compose(AttributeValueConverter other) |
Returns a converter that first applies
other then this converter. |
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 AttributeValueConverter |
XmlDataReader.attributeValueConverter |
Attribute value converter.
|
| Modifier and Type | Method | Description |
|---|---|---|
AttributeValueConverter |
XmlDataReader.getAttributeValueConverter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
XmlDataReader.setAttributeValueConverter(AttributeValueConverter converter) |
Sets the attribute value converter.
|
Copyright © 2019. All rights reserved.