Uses of Interface
org.xmlunit.util.Predicate
-
Packages that use Predicate Package Description org.xmlunit.builder Provides fluent builders for core parts of XMLUnit.org.xmlunit.diff Contains XMLUnitDifferenceEnginethat is at the heart of all comparisons as well as supporting interfaces and implementations.org.xmlunit.util Internal utilities hiding the differences between .NET and Java implementations. -
-
Uses of Predicate in org.xmlunit.builder
Methods in org.xmlunit.builder with parameters of type Predicate Modifier and Type Method Description DiffBuilderDiffBuilder. withAttributeFilter(Predicate<Attr> attributeFilter)Registers a filter for attributes.DDifferenceEngineConfigurer. withAttributeFilter(Predicate<Attr> attributeFilter)Registers a filter for attributes.DiffBuilderDiffBuilder. withNodeFilter(Predicate<Node> nodeFilter)Registers a filter for nodes.DDifferenceEngineConfigurer. withNodeFilter(Predicate<Node> nodeFilter)Registers a filter for nodes. -
Uses of Predicate in org.xmlunit.diff
Fields in org.xmlunit.diff declared as Predicate Modifier and Type Field Description static Predicate<Node>NodeFilters. AcceptAllAccepts all nodes.static Predicate<Node>NodeFilters. DefaultSuppresses document-type and XML declaration nodes.Methods in org.xmlunit.diff that return Predicate Modifier and Type Method Description protected Predicate<Attr>AbstractDifferenceEngine. getAttributeFilter()Provides access to the configured attribute filter.protected Predicate<Node>AbstractDifferenceEngine. getNodeFilter()Provides access to the configured nod filter.static Predicate<Node>NodeFilters. satifiesAll(Predicate<Node>... predicates)Accepts nodes that are accepted by all given filters.static Predicate<Node>NodeFilters. satifiesAny(Predicate<Node>... predicates)Accepts nodes that are accepted by at least on of the given filters.Methods in org.xmlunit.diff with parameters of type Predicate Modifier and Type Method Description static ElementSelectorElementSelectors. byNameAndAllAttributes(Predicate<Attr> attributeFilter)Elements with the same local name (and namespace URI - if any) and attribute values for all attributes can be compared.static ElementSelectorElementSelectors. conditionalSelector(Predicate<? super Element> predicate, ElementSelector es)Applies the wrapped ElementSelector's logic if and only if the control element matches the given predicate.static Predicate<Node>NodeFilters. satifiesAll(Predicate<Node>... predicates)Accepts nodes that are accepted by all given filters.static Predicate<Node>NodeFilters. satifiesAny(Predicate<Node>... predicates)Accepts nodes that are accepted by at least on of the given filters.voidAbstractDifferenceEngine. setAttributeFilter(Predicate<Attr> af)voidDifferenceEngine. setAttributeFilter(Predicate<Attr> attributeFilter)Sets the optional strategy that decides which attributes to consider and which to ignore during comparison.voidAbstractDifferenceEngine. setNodeFilter(Predicate<Node> nf)voidDifferenceEngine. setNodeFilter(Predicate<Node> nodeFilter)Sets the optional strategy that decides which nodes to consider and which to ignore during comparison.ElementSelectors.ConditionalSelectorBuilderThenElementSelectors.ConditionalSelectorBuilder. when(Predicate<? super Element> predicate)Sets up a conditional ElementSelector. -
Uses of Predicate in org.xmlunit.util
Classes in org.xmlunit.util that implement Predicate Modifier and Type Class Description classIsNullPredicateA function that tests whether an object is null.Methods in org.xmlunit.util with parameters of type Predicate Modifier and Type Method Description static <T> booleanLinqy. all(Iterable<T> sequence, Predicate<? super T> predicate)Determines whether a given predicate holds true for all elements.static <T> booleanLinqy. any(Iterable<T> sequence, Predicate<? super T> predicate)Determines whether a given predicate holds true for at least one element.static <T> Iterable<T>Linqy. filter(Iterable<T> sequence, Predicate<? super T> filter)Exclude all elements from an iterable that don't match a given predicate.static Map<QName,String>Nodes. getAttributes(Node n, Predicate<Attr> attributeFilter)Obtains an element's attributes as Map.
-