com.univocity.api.entity.html.processor.MultiBeanProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of univocity-html-parser-api Show documentation
Show all versions of univocity-html-parser-api Show documentation
Univocity HTML Parser Public API
/*
* 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.*;
/**
*
* A {@link RowProcessor} implementation for converting rows extracted from any implementation of {@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.
* Each individual instance will then be sent to the {@link #beanProcessed(Class, Object, Context)} method, where the user can access the
* beans parsed for each row.
*
* @see HtmlParser
* @see RowProcessor
* @see BeanProcessor
*
* @author Univocity Software Pty Ltd - [email protected]
*
*/
public abstract class MultiBeanProcessor extends AbstractMultiBeanProcessor 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 the {@link HtmlParser}
*/
public MultiBeanProcessor(Class ... beanTypes){
super(beanTypes);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy