-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.ContentMatcher,mu.KLoggable
public class XmlContentMatcher extends KLogging implements ContentMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private final KLoggerloggerpublic final static XmlContentMatcherINSTANCE
-
Method Summary
Modifier and Type Method Description BodyMatchResultmatchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)Triple<OptionalBody, MatchingRuleCategory, Generators>setupBodyFromConfig(Map<String, Object> bodyConfig)final Nodeparse(String xmlData)final List<BodyItemMatchResult>compareText(List<String> path, Node expected, Node actual, MatchingContext context)KLoggergetLogger()-
-
Method Detail
-
matchBody
BodyMatchResult matchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)
-
setupBodyFromConfig
Triple<OptionalBody, MatchingRuleCategory, Generators> setupBodyFromConfig(Map<String, Object> bodyConfig)
-
compareText
final List<BodyItemMatchResult> compareText(List<String> path, Node expected, Node actual, MatchingContext context)
-
getLogger
KLogger getLogger()
-
-
-
-