xmlunit-placeholders : Org.XmlUnit.Placeholder Namespace

PlaceholderSupport Class

Adds support for the placeholder feature to a DifferenceEngineConfigurer - like DiffBuilder or CompareConstraint.

Syntax

public static class PlaceholderSupport

Remarks

This class and the whole module are considered experimental and any API may change between releases of XMLUnit.

since 2.6.0

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256

Members

See Also: Inherited members from object.

Public Methods

static
WithPlaceholderSupport<D> (this D) : D
Adds placeholder support to an IDifferenceEngineConfigurer.
static
WithPlaceholderSupportChainedAfter<D> (this D, Org.XmlUnit.Diff.DifferenceEvaluator) : D
Adds placeholder support to an IDifferenceEngineConfigurer considering an additional DifferenceEvaluator.
static
WithPlaceholderSupportUsingDelimiters<D> (this D, string, string) : D
Adds placeholder support to an IDifferenceEngineConfigurer.
static
WithPlaceholderSupportUsingDelimiters<D> (this D, string, string, string, string, string) : D
Adds placeholder support to an IDifferenceEngineConfigurer.
static
WithPlaceholderSupportUsingDelimitersChainedAfter<D> (this D, string, string, Org.XmlUnit.Diff.DifferenceEvaluator) : D
Adds placeholder support to an IDifferenceEngineConfigurer considering an additional DifferenceEvaluator.
static
WithPlaceholderSupportUsingDelimitersChainedAfter<D> (this D, string, string, string, string, string, Org.XmlUnit.Diff.DifferenceEvaluator) : D
Adds placeholder support to an IDifferenceEngineConfigurer considering an additional DifferenceEvaluator.

Member Details

WithPlaceholderSupport<D> Generic Method

Adds placeholder support to an IDifferenceEngineConfigurer.

Syntax

public static D WithPlaceholderSupport<D> (this D configurer)
where D : Org.XmlUnit.Builder.IDifferenceEngineConfigurer<D>

Type Parameters

D
Documentation for this section has not yet been entered.

Parameters

configurer
configurer the configurer to add support to

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256

WithPlaceholderSupportChainedAfter<D> Generic Method

Adds placeholder support to an IDifferenceEngineConfigurer considering an additional DifferenceEvaluator.

Syntax

public static D WithPlaceholderSupportChainedAfter<D> (this D configurer, Org.XmlUnit.Diff.DifferenceEvaluator evaluator)
where D : Org.XmlUnit.Builder.IDifferenceEngineConfigurer<D>

Type Parameters

D
Documentation for this section has not yet been entered.

Parameters

configurer
configurer the configurer to add support to
evaluator
the additional evaluator - placeholder support is chained after the given evaluator.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256

WithPlaceholderSupportUsingDelimiters<D> Generic Method

Adds placeholder support to an IDifferenceEngineConfigurer.

Syntax

public static D WithPlaceholderSupportUsingDelimiters<D> (this D configurer, string placeholderOpeningDelimiterRegex, string placeholderClosingDelimiterRegex)
where D : Org.XmlUnit.Builder.IDifferenceEngineConfigurer<D>

Type Parameters

D
Documentation for this section has not yet been entered.

Parameters

configurer
configurer the configurer to add support to
placeholderOpeningDelimiterRegex
regular expression for the opening delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_OPENING_DELIMITER_REGEX if the parameter is null or blank
placeholderClosingDelimiterRegex
regular expression for the closing delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_CLOSING_DELIMITER_REGEX if the parameter is null or blank

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256

WithPlaceholderSupportUsingDelimiters<D> Generic Method

Adds placeholder support to an IDifferenceEngineConfigurer.

Syntax

public static D WithPlaceholderSupportUsingDelimiters<D> (this D configurer, string placeholderOpeningDelimiterRegex, string placeholderClosingDelimiterRegex, string placeholderArgsOpeningDelimiterRegex, string placeholderArgsClosingDelimiterRegex, string placeholderArgsSeparatorRegex)
where D : Org.XmlUnit.Builder.IDifferenceEngineConfigurer<D>

Type Parameters

D
Documentation for this section has not yet been entered.

Parameters

configurer
configurer the configurer to add support to
placeholderOpeningDelimiterRegex
regular expression for the opening delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_OPENING_DELIMITER_REGEX if the parameter is null or blank
placeholderClosingDelimiterRegex
regular expression for the closing delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_CLOSING_DELIMITER_REGEX if the parameter is null or blank
placeholderArgsOpeningDelimiterRegex
regular expression for the opening delimiter of the placeholder's argument list, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_ARGS_OPENING_DELIMITER_REGEX if the parameter is null or blank
placeholderArgsClosingDelimiterRegex
regular expression for the closing delimiter of the placeholder's argument list, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_ARGS_CLOSING_DELIMITER_REGEX if the parameter is null or blank
placeholderArgsSeparatorRegex
regular expression for the delimiter between arguments inside of the placeholder's argument list, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_ARGS_SEPARATOR_REGEX if the parameter is null or blank

Returns

Documentation for this section has not yet been entered.

Remarks

since 2.8.0

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256

WithPlaceholderSupportUsingDelimitersChainedAfter<D> Generic Method

Adds placeholder support to an IDifferenceEngineConfigurer considering an additional DifferenceEvaluator.

Syntax

public static D WithPlaceholderSupportUsingDelimitersChainedAfter<D> (this D configurer, string placeholderOpeningDelimiterRegex, string placeholderClosingDelimiterRegex, Org.XmlUnit.Diff.DifferenceEvaluator evaluator)
where D : Org.XmlUnit.Builder.IDifferenceEngineConfigurer<D>

Type Parameters

D
Documentation for this section has not yet been entered.

Parameters

configurer
configurer the configurer to add support to
placeholderOpeningDelimiterRegex
regular expression for the opening delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_OPENING_DELIMITER_REGEX if the parameter is null or blank
placeholderClosingDelimiterRegex
regular expression for the closing delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_CLOSING_DELIMITER_REGEX if the parameter is null or blank
evaluator
the additional evaluator - placeholder support is chained after the given evaluator.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256

WithPlaceholderSupportUsingDelimitersChainedAfter<D> Generic Method

Adds placeholder support to an IDifferenceEngineConfigurer considering an additional DifferenceEvaluator.

Syntax

public static D WithPlaceholderSupportUsingDelimitersChainedAfter<D> (this D configurer, string placeholderOpeningDelimiterRegex, string placeholderClosingDelimiterRegex, string placeholderArgsOpeningDelimiterRegex, string placeholderArgsClosingDelimiterRegex, string placeholderArgsSeparatorRegex, Org.XmlUnit.Diff.DifferenceEvaluator evaluator)
where D : Org.XmlUnit.Builder.IDifferenceEngineConfigurer<D>

Type Parameters

D
Documentation for this section has not yet been entered.

Parameters

configurer
configurer the configurer to add support to
placeholderOpeningDelimiterRegex
regular expression for the opening delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_OPENING_DELIMITER_REGEX if the parameter is null or blank
placeholderClosingDelimiterRegex
regular expression for the closing delimiter of placeholder, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_CLOSING_DELIMITER_REGEX if the parameter is null or blank
placeholderArgsOpeningDelimiterRegex
regular expression for the opening delimiter of the placeholder's argument list, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_ARGS_OPENING_DELIMITER_REGEX if the parameter is null or blank
placeholderArgsClosingDelimiterRegex
regular expression for the closing delimiter of the placeholder's argument list, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_ARGS_CLOSING_DELIMITER_REGEX if the parameter is null or blank
placeholderArgsSeparatorRegex
regular expression for the delimiter between arguments inside of the placeholder's argument list, defaults to PlaceholderDifferenceEvaluator#PLACEHOLDER_DEFAULT_ARGS_SEPARATOR_REGEX if the parameter is null or blank
evaluator
the additional evaluator - placeholder support is chained after the given evaluator.

Returns

Documentation for this section has not yet been entered.

Remarks

since 2.8.0

Requirements

Namespace: Org.XmlUnit.Placeholder
Assembly: xmlunit-placeholders (in xmlunit-placeholders.dll)
Assembly Versions: 2.10.0.256