public class IterableXPath extends Object implements Iterable<String>
For example, if xPath = "Header/Request/SomeValue", then iterators returned by iterator() will return "Header", "Request", and "SomeValue", in that
order.
| Constructor and Description |
|---|
IterableXPath(String xPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getXPath() |
Iterator<String> |
iterator()
Returns an iterator over the elements of
getXPath(). |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic String getXPath()
public Iterator<String> iterator()
getXPath(). If getXPath() is null or empty, the returned iterator will be empty.Copyright © 2020. All Rights Reserved.