
com.univocity.api.entity.html.processor.MultiBeanRowProcessor Maven / Gradle / Ivy
/*
* Copyright (c) 2013 Univocity Software Pty Ltd. All rights reserved.
* This file is subject to the terms and conditions defined in file
* 'LICENSE.txt', which is part of this source code package.
*/
package com.univocity.api.entity.html.processor;
import com.univocity.api.entity.html.*;
import com.univocity.parsers.common.*;
import com.univocity.parsers.common.processor.core.*;
import java.util.*;
/**
* A {@link RowProcessor} implementation for converting rows extracted by the {@link HtmlParser} into java objects.
*
* The class types passed to the constructor of this class must contain the annotations provided in {@link com.univocity.parsers.annotations}.
*
* For each row processed, one or more java bean instances of any given class will be created with their fields populated.
* Once all beans are populated from an individual input record, they will be sent to through the {@link #rowProcessed(Map, Context)} method,
* where the user can access all beans parsed for that row.
*
* @author Univocity Software Pty Ltd - [email protected]
* @see HtmlParser
* @see RowProcessor
* @see BeanProcessor
* @see MultiBeanProcessor
*/
public abstract class MultiBeanRowProcessor extends AbstractMultiBeanRowProcessor implements RowProcessor {
/**
* Creates a processor for java beans of multiple types
*
* @param beanTypes the classes with their attributes mapped to fields of records parsed by an {@link HtmlParser}.
*/
public MultiBeanRowProcessor(Class... beanTypes) {
super(beanTypes);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy