Uses of Interface
org.xmlunit.util.Predicate
-
Packages that use Predicate Package Description org.xmlunit.assertj3 AssertJ 3.x assertions on top of XMLUnit's core.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.matchers Hamcrest matchers on top of XMLUnit's core.org.xmlunit.util Internal utilities hiding the differences between .NET and Java implementations. -
-
Uses of Predicate in org.xmlunit.assertj3
Methods in org.xmlunit.assertj3 with parameters of type Predicate Modifier and Type Method Description CompareAssertCompareAssert. withAttributeFilter(Predicate<org.w3c.dom.Attr> attributeFilter)Registers a filter for attributes.CompareAssertCompareAssert. withNodeFilter(Predicate<org.w3c.dom.Node> nodeFilter)Registers a filter for nodes. -
Uses of Predicate in org.xmlunit.builder
Fields in org.xmlunit.builder declared as Predicate Modifier and Type Field Description private Predicate<org.w3c.dom.Attr>DiffBuilder. attributeFilterprivate Predicate<org.w3c.dom.Node>DiffBuilder. nodeFilterMethods in org.xmlunit.builder with parameters of type Predicate Modifier and Type Method Description DiffBuilderDiffBuilder. withAttributeFilter(Predicate<org.w3c.dom.Attr> attributeFilter)Registers a filter for attributes.DDifferenceEngineConfigurer. withAttributeFilter(Predicate<org.w3c.dom.Attr> attributeFilter)Registers a filter for attributes.DiffBuilderDiffBuilder. withNodeFilter(Predicate<org.w3c.dom.Node> nodeFilter)Registers a filter for nodes.DDifferenceEngineConfigurer. withNodeFilter(Predicate<org.w3c.dom.Node> nodeFilter)Registers a filter for nodes. -
Uses of Predicate in org.xmlunit.diff
Classes in org.xmlunit.diff that implement Predicate Modifier and Type Class Description private static classElementSelectors.CanBeComparedPredicateFields in org.xmlunit.diff declared as Predicate Modifier and Type Field Description static Predicate<org.w3c.dom.Node>NodeFilters. AcceptAllAccepts all nodes.private Predicate<org.w3c.dom.Attr>AbstractDifferenceEngine. attributeFilterstatic Predicate<org.w3c.dom.Node>NodeFilters. DefaultSuppresses document-type and XML declaration nodes.private Predicate<org.w3c.dom.Node>AbstractDifferenceEngine. nodeFilterprivate Predicate<? super org.w3c.dom.Element>DefaultConditionalSelectorBuilder. pendingConditionFields in org.xmlunit.diff with type parameters of type Predicate Modifier and Type Field Description private java.util.Map<Predicate<? super org.w3c.dom.Element>,ElementSelector>DefaultConditionalSelectorBuilder.ConditionalSelector. conditionalSelectorsprivate java.util.Map<Predicate<? super org.w3c.dom.Element>,ElementSelector>DefaultConditionalSelectorBuilder. conditionalSelectorsMethods in org.xmlunit.diff that return Predicate Modifier and Type Method Description (package private) static Predicate<org.w3c.dom.Element>ElementSelectors. elementNamePredicate(java.lang.String expectedName)(package private) static Predicate<org.w3c.dom.Element>ElementSelectors. elementNamePredicate(javax.xml.namespace.QName expectedName)protected Predicate<org.w3c.dom.Attr>AbstractDifferenceEngine. getAttributeFilter()Provides access to the configured ComparisonController.protected Predicate<org.w3c.dom.Node>AbstractDifferenceEngine. getNodeFilter()Provides access to the configured ComparisonController.Methods in org.xmlunit.diff with parameters of type Predicate Modifier and Type Method Description static ElementSelectorElementSelectors. conditionalSelector(Predicate<? super org.w3c.dom.Element> predicate, ElementSelector es)Applies the wrapped ElementSelector's logic if and only if the control element matches the given predicate.voidAbstractDifferenceEngine. setAttributeFilter(Predicate<org.w3c.dom.Attr> af)voidDifferenceEngine. setAttributeFilter(Predicate<org.w3c.dom.Attr> attributeFilter)Sets the optional strategy that decides which attributes to consider and which to ignore during comparison.voidAbstractDifferenceEngine. setNodeFilter(Predicate<org.w3c.dom.Node> nf)voidDifferenceEngine. setNodeFilter(Predicate<org.w3c.dom.Node> nodeFilter)Sets the optional strategy that decides which nodes to consider and which to ignore during comparison.ElementSelectors.ConditionalSelectorBuilderThenDefaultConditionalSelectorBuilder. when(Predicate<? super org.w3c.dom.Element> predicate)ElementSelectors.ConditionalSelectorBuilderThenElementSelectors.ConditionalSelectorBuilder. when(Predicate<? super org.w3c.dom.Element> predicate)Sets up a conditional ElementSelector.Constructor parameters in org.xmlunit.diff with type arguments of type Predicate Constructor Description ConditionalSelector(java.util.Map<Predicate<? super org.w3c.dom.Element>,ElementSelector> conditionalSelectors, ElementSelector defaultSelector) -
Uses of Predicate in org.xmlunit.matchers
Classes in org.xmlunit.matchers that implement Predicate Modifier and Type Class Description private static classValidationMatcher.HasSystemIdPredicateMethods in org.xmlunit.matchers with parameters of type Predicate Modifier and Type Method Description CompareMatcherCompareMatcher. withAttributeFilter(Predicate<org.w3c.dom.Attr> attributeFilter)CompareMatcherCompareMatcher. withNodeFilter(Predicate<org.w3c.dom.Node> nodeFilter) -
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.Fields in org.xmlunit.util declared as Predicate Modifier and Type Field Description private Predicate<? super T>Linqy.FilteringIterator. filterMethods in org.xmlunit.util with parameters of type Predicate Modifier and Type Method Description static <T> booleanLinqy. all(java.lang.Iterable<T> sequence, Predicate<? super T> predicate)Determines whether a given predicate holds true for all elements.static <T> booleanLinqy. any(java.lang.Iterable<T> sequence, Predicate<? super T> predicate)Determines whether a given predicate holds true for at least one element.static <T> java.lang.Iterable<T>Linqy. filter(java.lang.Iterable<T> sequence, Predicate<? super T> filter)Exclude all elements from an iterable that don't match a given predicate.Constructors in org.xmlunit.util with parameters of type Predicate Constructor Description FilteringIterator(java.util.Iterator<T> i, Predicate<? super T> filter)
-