public class MultiBeanListProcessor extends com.univocity.parsers.common.processor.core.AbstractMultiBeanListProcessor<HtmlParsingContext> implements RowProcessor
A RowProcessor implementation for converting rows extracted from the HtmlParser into java objects, storing them into lists. This processor stores beans in separate lists, one for each type of bean processed. All lists of all types will have the same number of entries as the number of records in the input. When an object of a particular type can’t be generated from a row, null will be added to the list. This ensures all lists are the same size, and each element of each list contains the exact information parsed from each row.
The class types passed to the constructor of this class must contain the annotations provided in com.univocity.parsers.annotations.
HtmlParser,
RowProcessor,
BeanProcessor,
MultiBeanProcessor,
HtmlEntitySettings| Constructor and Description |
|---|
MultiBeanListProcessor(Class... beanTypes)
Creates a processor for java beans of multiple types
|
getBeans, getBeans, getHeaders, processEnded, processStarted, rowProcessedbeanProcessedconvertAll, convertFields, convertIndexes, convertType, getBeanClasses, getProcessorOfType, rowProcessedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessEnded, processStarted, rowProcessedpublic MultiBeanListProcessor(Class... beanTypes)
Creates a processor for java beans of multiple types
beanTypes - the classes with their attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.