com.univocity.parsers.remote
Interface RemoteEntityParserInterface<R extends ResultRecord<C>,C extends com.univocity.parsers.common.Context,T extends Result<R,C>>
- Type Parameters:
C - the pagination context implementation supported by the parser, to support reading through records available
remotely in multiple result pages.
- All Superinterfaces:
- EntityParserInterface<R,C,T>
public interface RemoteEntityParserInterface<R extends ResultRecord<C>,C extends com.univocity.parsers.common.Context,T extends Result<R,C>>
- extends EntityParserInterface<R,C,T>
An extension of the EntityParserInterface for parsers that access remote content.
All parsers should work with a concrete implementation of a RemoteParserSettings object that provides
configuration options for the given parser. The definition of entities and their configuration should be managed by
an implementation of RemoteEntityList, which provides individual RemoteEntitySettings to allow user
to configure how the records of each individual entity should be handled.
Concrete parser implementations may provide additional operations.
- Author:
- uniVocity Software Pty Ltd - dev@univocity.com
- See Also:
EntityParserInterface,
PaginationContext,
Record,
Context,
Result
getPaginationContext
PaginationContext getPaginationContext()
- Returns the
PaginationContext object with information collected for the configured Paginator, 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 Paginator
using Paginator.setPaginationHandler(NextInputHandler).
- Returns:
- the current
PaginationContext with pagination information captured after parsing a given input.
Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.