xmlunit-core : Org.XmlUnit.Diff Namespace

NodeFilters Class

Common NodeFilter implementations.

Syntax

public static class NodeFilters

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

Members

See Also: Inherited members from object.

Public Methods

static
AcceptAll (System.Xml.XmlNode) : bool
Suppresses document-type and XML declaration nodes.
static
Default (System.Xml.XmlNode) : bool
Suppresses document-type and XML declaration nodes.
static
SatifiesAll (params Predicate<System.Xml.XmlNode>[]) : Predicate<System.Xml.XmlNode>
Accepts nodes that are accepted by all given filters.
static
SatifiesAny (params Predicate<System.Xml.XmlNode>[]) : Predicate<System.Xml.XmlNode>
Accepts nodes that are accepted by at least on of the given filters.

Member Details

AcceptAll Method

Suppresses document-type and XML declaration nodes.

Syntax

public static bool AcceptAll (System.Xml.XmlNode n)

Parameters

n
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

since XMLUnit 2.6.0

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

Default Method

Suppresses document-type and XML declaration nodes.

Syntax

public static bool Default (System.Xml.XmlNode n)

Parameters

n
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

This is the default used by AbstractDifferenceEngine and thus DOMDifferenceEngine.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

SatifiesAll Method

Accepts nodes that are accepted by all given filters.

Syntax

public static Predicate<System.Xml.XmlNode> SatifiesAll (params Predicate<System.Xml.XmlNode>[] predicates)

Parameters

predicates
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

This short-circuits the given list of predicates and returns false as soon as the first predicate does.

since XMLUnit 2.9.2

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

SatifiesAny Method

Accepts nodes that are accepted by at least on of the given filters.

Syntax

public static Predicate<System.Xml.XmlNode> SatifiesAny (params Predicate<System.Xml.XmlNode>[] predicates)

Parameters

predicates
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

This short-circuits the given list of predicates and returns true as soon as the first predicate does.

since XMLUnit 2.9.2

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240