Example usage for org.w3c.dom.html HTMLTableRowElement getCells

List of usage examples for org.w3c.dom.html HTMLTableRowElement getCells

Introduction

In this page you can find the example usage for org.w3c.dom.html HTMLTableRowElement getCells.

Prototype

public HTMLCollection getCells();

Source Link

Document

The collection of cells in this row.

Usage

From source file:org.sakaiproject.kernel.mailman.impl.MailmanManagerImpl.java

private String parseListNameFromRow(HTMLTableRowElement item) throws MailmanException {
    HTMLCollection cells = item.getCells();
    if (cells.getLength() != 2) {
        throw new MailmanException("Unexpected table row format");
    }//  w  ww.  ja  v a2  s .c o m
    return cells.item(0).getTextContent();
}