public class EqualToXmlPattern extends StringValuePattern
expectedValue
Constructor and Description |
---|
EqualToXmlPattern(java.lang.String expectedValue) |
EqualToXmlPattern(java.lang.String expectedValue,
java.lang.Boolean enablePlaceholders,
java.lang.String placeholderOpeningDelimiterRegex,
java.lang.String placeholderClosingDelimiterRegex,
java.util.Set<org.xmlunit.diff.ComparisonType> exemptedComparisons) |
Modifier and Type | Method and Description |
---|---|
EqualToXmlPattern |
exemptingComparisons(org.xmlunit.diff.ComparisonType... comparisons) |
java.lang.String |
getEqualToXml() |
java.util.Set<org.xmlunit.diff.ComparisonType> |
getExemptedComparisons() |
java.lang.String |
getExpected() |
java.lang.String |
getPlaceholderClosingDelimiterRegex() |
java.lang.String |
getPlaceholderOpeningDelimiterRegex() |
java.lang.Boolean |
isEnablePlaceholders() |
MatchResult |
match(java.lang.String value) |
and, equals, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toString
getValue, isNullValuePermitted
public EqualToXmlPattern(java.lang.String expectedValue)
public EqualToXmlPattern(java.lang.String expectedValue, java.lang.Boolean enablePlaceholders, java.lang.String placeholderOpeningDelimiterRegex, java.lang.String placeholderClosingDelimiterRegex, java.util.Set<org.xmlunit.diff.ComparisonType> exemptedComparisons)
public java.lang.String getEqualToXml()
public java.lang.String getExpected()
getExpected
in interface NamedValueMatcher<java.lang.String>
getExpected
in class StringValuePattern
public java.lang.Boolean isEnablePlaceholders()
public java.lang.String getPlaceholderOpeningDelimiterRegex()
public java.lang.String getPlaceholderClosingDelimiterRegex()
public java.util.Set<org.xmlunit.diff.ComparisonType> getExemptedComparisons()
public MatchResult match(java.lang.String value)
public EqualToXmlPattern exemptingComparisons(org.xmlunit.diff.ComparisonType... comparisons)