Package au.com.dius.pact.core.matchers
Object XmlContentMatcher
-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.ContentMatcher,io.github.oshai.kotlinlogging.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)Result<List<InteractionContents>, String>setupBodyFromConfig(Map<String, Object> bodyConfig)final Nodeparse(String xmlData)final List<BodyItemMatchResult>compareText(List<String> path, Node expected, Node actual, MatchingContext context)-
-
Method Detail
-
matchBody
BodyMatchResult matchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)
-
setupBodyFromConfig
Result<List<InteractionContents>, String> setupBodyFromConfig(Map<String, Object> bodyConfig)
-
compareText
final List<BodyItemMatchResult> compareText(List<String> path, Node expected, Node actual, MatchingContext context)
-
-
-
-