1 /*** 2 * 3 */ 4 package net.trajano.twiff.renderer; 5 6 /*** 7 * @author Archimedes Trajano 8 */ 9 public interface PageElement { 10 /*** 11 * Accepts a visitor that should visit the page data. 12 * 13 * @param visitor 14 * visitor. 15 */ 16 void accept(PageElementVisitor visitor); 17 18 /*** 19 * Return the column number where the current page element ends. 20 * 21 * @return the column number. -1 if unavailable. 22 */ 23 int getColumnNumber(); 24 25 /*** 26 * Return the line number where the current page element ends. 27 * 28 * @return the line number. -1 if unavailable. 29 */ 30 int getLineNumber(); 31 }