T - the source type@Immutable public final class DocumentToStringIteratorConvertor<T> extends Object
| Constructor and Description |
|---|
DocumentToStringIteratorConvertor(String xpath,
DocumentConverter<T> documentConverter)
Initializes with an xpath expression and a document converter.
|
public DocumentToStringIteratorConvertor(String xpath, DocumentConverter<T> documentConverter) throws WhoisServerListException
xpath - the xpath expressiondocumentConverter - the document converterWhoisServerListException - If compilation of the xpath expression
failedpublic Iterable<String> convert(T input) throws WhoisServerListException
input - the source valueWhoisServerListExceptionCopyright © 2014. All Rights Reserved.