public final class XPathBuilder extends Object
XmlVerifiable
,
XmlAssertion
Modifier and Type | Method and Description |
---|---|
static XmlVerifiable |
builder() |
static XmlVerifiable |
builder(String xml)
Using a XPath builder for the given XML you can read its value.
|
public static XmlVerifiable builder()
XmlVerifiable
with which you can build your XPath.
Once finished just call XmlVerifiable.xPath()
to get XPath as String.public static XmlVerifiable builder(String xml)
xml
- xml to assertXmlVerifiable
Copyright © 2016–2020 Spring. All rights reserved.