All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.jsolve.templ4docx.cleaner.TableRowCleaner Maven / Gradle / Ivy

package pl.jsolve.templ4docx.cleaner;

import java.util.List;

import org.apache.poi.xwpf.usermodel.XWPFTableRow;

import pl.jsolve.sweetener.collection.Collections;

/**
 * Container class which contains information about rows intended to remove.
 * @author Lukasz Stypka
 */
public class TableRowCleaner {

    private List rows;

    public TableRowCleaner() {
        this.rows = Collections.newArrayList();
    }

    /**
     * Add table row which should be removed from the table
     * @param row XWPFTableRow
     */
    public void add(XWPFTableRow row) {
        this.rows.add(row);
    }

    /**
     * Return list of rows which should be removed
     * @return list of rows
     */
    public List getRows() {
        return rows;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy