| Package | Description |
|---|---|
| cdc.util.data | |
| cdc.util.data.util |
| Modifier and Type | Method | Description |
|---|---|---|
Element |
Element.clone(boolean recurse) |
|
Element |
Element.getNthChildNamed(java.lang.String name,
int index) |
|
Element |
AbstractChild.getRootElement() |
|
Element |
Document.getRootElement() |
|
Element |
Node.getRootElement() |
| Constructor | Description |
|---|---|
Element(Element other) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
AttributePredicate.accepts(Element element,
java.lang.String name,
java.lang.String value) |
Returns true when the attribute must be kept.
|
boolean |
ElementPredicate.accepts(Parent parent,
Element element) |
Returns true when an element must be kept.
|
java.lang.String |
AttributeNameConverter.convertAttributeName(Element element,
java.lang.String name) |
Returns the name that should be used instead of the original name.
|
java.lang.String |
AttributeValueConverter.convertAttributeValue(Element element,
java.lang.String name,
java.lang.String value) |
Returns the value that should be used instead of the original value.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
DataUtil.moveAttributeFirst(Parent parent,
java.util.function.Predicate<? super Element> predicate,
java.lang.String name,
cdc.util.function.Evaluator<? super Parent> evaluator) |
Moves the attribute that has a given name to first position, if it exists.
|
static void |
DataUtil.setNameOfMatchingElements(Parent parent,
java.util.function.Predicate<? super Element> predicate,
ElementNameConverter converter,
cdc.util.function.Evaluator<? super Parent> evaluator) |
Sets the name of matching elements.
|
static void |
DataUtil.setNameOfMatchingElements(Parent parent,
java.util.function.Predicate<? super Element> predicate,
java.util.function.Function<java.lang.String,java.lang.String> nameConverter,
cdc.util.function.Evaluator<? super Parent> evaluator) |
Sets the name of matching elements.
|
Copyright © 2018. All rights reserved.