public interface HtmlParserInterface extends com.univocity.parsers.remote.RemoteEntityParserInterface<HtmlRecord,HtmlParsingContext,HtmlParserResult>
An extension of the EntityParserInterface to include all operations specific to the HtmlParser
| Modifier and Type | Method and Description |
|---|---|
HtmlPaginationContext |
getPaginationContext()
Returns the
HtmlPaginationContext object with information collected for the configured HtmlPaginator, if any. |
com.univocity.parsers.common.Results<HtmlParserResult> |
parse(HtmlElement htmlTree)
Given a
HtmlElement, parses all records of all entities defined in the EntityList of this parser, and returns them in a map. |
com.univocity.parsers.common.Results<HtmlParserResult> parse(HtmlElement htmlTree)
Given a HtmlElement, parses all records of all entities defined in the EntityList of this parser, and returns them in a map. Keys are the entity names and values are lists of Record produced for that entity.
htmlTree - the HTML tree with content to be parsedHtmlPaginationContext getPaginationContext()
Returns the HtmlPaginationContext object with information collected for the configured HtmlPaginator, if any. The information returned comes from the last input processed, and might have been modified by a NextInputHandler if it has been associated with the HtmlPaginator using Paginator.setPaginationHandler(NextInputHandler).
getPaginationContext in interface com.univocity.parsers.remote.RemoteEntityParserInterface<HtmlRecord,HtmlParsingContext,HtmlParserResult>PaginationContext with pagination information captured after parsing a given input.Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.