Uses of Interface
cdc.util.data.Parent
-
Packages that use Parent Package Description cdc.util.data cdc.util.data.paths cdc.util.data.util -
-
Uses of Parent in cdc.util.data
Classes in cdc.util.data that implement Parent Modifier and Type Class Description classDocumentXML like Document node.classElementXML like Element node.Methods in cdc.util.data with type parameters of type Parent Modifier and Type Method Description default <E extends Parent>
EChild. getParent(Class<E> parentClass)Returns the parent of this child, cast to a target class.Methods in cdc.util.data that return Parent Modifier and Type Method Description ParentParent. clone(boolean recurse)ParentAbstractChild. getParent()ParentChild. getParent()Methods in cdc.util.data with parameters of type Parent Modifier and Type Method Description voidAbstractChild. setParent(Parent parent)voidChild. setParent(Parent parent)Sets or changes the parent of this child.Constructors in cdc.util.data with parameters of type Parent Constructor Description AbstractContentNode(Parent parent, String content)Comment(Parent parent)Comment(Parent parent, String content)Element(Parent parent, String name)Creates an element.Text(Parent parent)Text(Parent parent, String content) -
Uses of Parent in cdc.util.data.paths
Methods in cdc.util.data.paths with parameters of type Parent Modifier and Type Method Description booleanSPath. matchesElement(Parent parent)booleanSPath. matchesElement(Parent parent, String name) -
Uses of Parent in cdc.util.data.util
Methods in cdc.util.data.util with parameters of type Parent Modifier and Type Method Description booleanElementPredicate. accepts(Parent parent, Element element)Returns true when an element must be kept.booleanTextPredicate. accepts(Parent parent, Text text)Returnstruewhen a text must be kept.StringElementNameConverter. convertElementName(Parent parent, String name)Returns the element name to use instead of the original name.StringTextContentConverter. convertTextContent(Parent parent, String content)static voidDataUtils. moveAttributeFirst(Parent parent, Predicate<? super Element> predicate, String name, Evaluator<? super Parent> evaluator)Moves the attribute that has a given name to first position, if it exists.static voidDataUtils. removeComments(Parent parent, Evaluator<? super Parent> evaluator)Removes comments nodes.static voidDataUtils. removeEmptyAttributes(Parent parent, Evaluator<? super Parent> evaluator)Recursively removes empty attributes.static voidDataUtils. removeIgnorableText(Parent parent, Evaluator<? super Parent> evaluator)Removes text that can be ignored.static voidDataUtils. removeMatchingAttributes(Parent parent, AttributePredicate predicate, Evaluator<? super Parent> evaluator)Removes matching attributes.static voidDataUtils. removeMatchingChildren(Parent parent, Predicate<? super Child> predicate, Evaluator<? super Parent> evaluator)Removes matching children.static voidDataUtils. removePureElements(Parent parent, Evaluator<? super Parent> evaluator)Removes pure elements (they have no children and no attributes).static voidDataUtils. setContentOfMatchingElements(Parent parent, ElementPredicate predicate, TextContentConverter converter, Evaluator<? super Parent> evaluator)static voidDataUtils. setContentOfMatchingTexts(Parent parent, TextPredicate predicate, TextContentConverter converter, Evaluator<? super Parent> evaluator)Sets the content of matching texts.static voidDataUtils. setNameOfMatchingAttributes(Parent parent, AttributePredicate predicate, AttributeNameConverter converter, Evaluator<? super Parent> evaluator)Sets names of matching attributes.static voidDataUtils. setNameOfMatchingElements(Parent parent, Predicate<? super Element> predicate, ElementNameConverter converter, Evaluator<? super Parent> evaluator)Sets the name of matching elements.static voidDataUtils. setValueOfMatchingAttributes(Parent parent, AttributePredicate predicate, AttributeValueConverter converter, Evaluator<? super Parent> evaluator)Sets value of matching attributes.static voidDataUtils. sortAttributes(Parent parent, Comparator<Attribute> comparator, Evaluator<? super Parent> evaluator)Sorts attributes of elements using a user defined sorter.static voidDataUtils. sortChildren(Parent parent, Predicate<? super Parent> predicate, Comparator<? super Child> comparator, Evaluator<? super Parent> evaluator)Sorts children nodes using a user-defined comparator.Method parameters in cdc.util.data.util with type arguments of type Parent Modifier and Type Method Description static voidDataUtils. moveAttributeFirst(Parent parent, Predicate<? super Element> predicate, String name, Evaluator<? super Parent> evaluator)Moves the attribute that has a given name to first position, if it exists.static voidDataUtils. removeComments(Parent parent, Evaluator<? super Parent> evaluator)Removes comments nodes.static voidDataUtils. removeEmptyAttributes(Parent parent, Evaluator<? super Parent> evaluator)Recursively removes empty attributes.static voidDataUtils. removeIgnorableText(Parent parent, Evaluator<? super Parent> evaluator)Removes text that can be ignored.static voidDataUtils. removeMatchingAttributes(Parent parent, AttributePredicate predicate, Evaluator<? super Parent> evaluator)Removes matching attributes.static voidDataUtils. removeMatchingChildren(Parent parent, Predicate<? super Child> predicate, Evaluator<? super Parent> evaluator)Removes matching children.static voidDataUtils. removePureElements(Parent parent, Evaluator<? super Parent> evaluator)Removes pure elements (they have no children and no attributes).static voidDataUtils. setContentOfMatchingElements(Parent parent, ElementPredicate predicate, TextContentConverter converter, Evaluator<? super Parent> evaluator)static voidDataUtils. setContentOfMatchingTexts(Parent parent, TextPredicate predicate, TextContentConverter converter, Evaluator<? super Parent> evaluator)Sets the content of matching texts.static voidDataUtils. setNameOfMatchingAttributes(Parent parent, AttributePredicate predicate, AttributeNameConverter converter, Evaluator<? super Parent> evaluator)Sets names of matching attributes.static voidDataUtils. setNameOfMatchingElements(Parent parent, Predicate<? super Element> predicate, ElementNameConverter converter, Evaluator<? super Parent> evaluator)Sets the name of matching elements.static voidDataUtils. setValueOfMatchingAttributes(Parent parent, AttributePredicate predicate, AttributeValueConverter converter, Evaluator<? super Parent> evaluator)Sets value of matching attributes.static voidDataUtils. sortAttributes(Parent parent, Comparator<Attribute> comparator, Evaluator<? super Parent> evaluator)Sorts attributes of elements using a user defined sorter.static voidDataUtils. sortChildren(Parent parent, Predicate<? super Parent> predicate, Comparator<? super Child> comparator, Evaluator<? super Parent> evaluator)Sorts children nodes using a user-defined comparator.static voidDataUtils. sortChildren(Parent parent, Predicate<? super Parent> predicate, Comparator<? super Child> comparator, Evaluator<? super Parent> evaluator)Sorts children nodes using a user-defined comparator.
-