Class EqualToXmlPattern
java.lang.Object
com.github.tomakehurst.wiremock.matching.ContentPattern<String>
com.github.tomakehurst.wiremock.matching.StringValuePattern
com.github.tomakehurst.wiremock.matching.EqualToXmlPattern
- All Implemented Interfaces:
NamedValueMatcher<String>
,ValueMatcher<String>
-
Field Summary
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
Constructor Summary
ConstructorsConstructorDescriptionEqualToXmlPattern
(String expectedValue) EqualToXmlPattern
(String expectedValue, Boolean enablePlaceholders, String placeholderOpeningDelimiterRegex, String placeholderClosingDelimiterRegex, Set<org.xmlunit.diff.ComparisonType> exemptedComparisons) -
Method Summary
Modifier and TypeMethodDescriptionexemptingComparisons
(org.xmlunit.diff.ComparisonType... comparisons) Set<org.xmlunit.diff.ComparisonType>
Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, equals, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toString
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
Constructor Details
-
EqualToXmlPattern
-
EqualToXmlPattern
-
-
Method Details
-
getEqualToXml
-
getExpected
- Specified by:
getExpected
in interfaceNamedValueMatcher<String>
- Overrides:
getExpected
in classStringValuePattern
-
isEnablePlaceholders
-
getPlaceholderOpeningDelimiterRegex
-
getPlaceholderClosingDelimiterRegex
-
getExemptedComparisons
-
match
-
exemptingComparisons
-