public final class XmlChecks extends Object
| Modifier and Type | Method and Description |
|---|---|
static TransformationBuilder<Object,Check<Object>> |
hasNode(String xPath) |
static TransformationBuilder<Object,Check<Object>> |
hasNode(String xPath,
QName type) |
static TransformationBuilder<Object,Check<String>> |
hasTextContent(String xPath) |
static Check<String> |
loadXml(Check<? super Document> check)
Use string parameter as path to XML file, and check the file using DOM Document check.
|
static Check<Object> |
matchesXPath(String xPath) |
static Check<String> |
parseXml(Check<? super Document> check)
Use string parameter as XML content, and check the file using DOM Document check.
|
public static TransformationBuilder<Object,Check<Object>> hasNode(String xPath)
public static TransformationBuilder<Object,Check<String>> hasTextContent(String xPath)
public static Check<String> parseXml(Check<? super Document> check)
check - DOM Document check.Copyright © 2021. All rights reserved.