/** * @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public TableRow(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
private int addRow(int depth, int cursor, String cell1, String cell2) { TableRow tableRow = new TableRow(jCas); tableRow.setBegin(++cursor); tableRow.setDepth(++depth); tableRow.setEnd(cursor); tableRow.addToIndexes();
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public TableRow(JCas jcas) { super(jcas); readObject(); }
private int addRow(int depth, int cursor, String cell1, String cell2) { TableRow tableRow = new TableRow(jCas); tableRow.setBegin(++cursor); tableRow.setDepth(++depth); tableRow.setEnd(cursor); tableRow.addToIndexes();
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public TableRow(int addr, TOP_Type type) { super(addr, type); readObject(); }
assertEquals("row", r6.getName()); assertEquals(quotation5.getEnd(), r6.getBegin()); assertEquals(tableRow1.getEnd(), r6.getEnd()); assertEquals(tableRow1.getEnd(), r7.getBegin()); assertEquals(tableRow2.getEnd(), r7.getEnd()); assertEquals(tableRow2.getEnd(), r8.getBegin()); assertEquals(paragraph1.getEnd(), r8.getEnd());
private int addRow(int depth, int cursor, String cell1, String cell2) { TableRow tableRow = new TableRow(jCas); tableRow.setBegin(++cursor); tableRow.setDepth(++depth); tableRow.setEnd(cursor); tableRow.addToIndexes();
/** * @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public TableRow(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public TableRow(JCas jcas) { super(jcas); readObject(); }
private int addRow( int depth, int cursor, String cell1, String cell2, boolean person, boolean comms) { TableRow tableRow = new TableRow(jCas); tableRow.setBegin(++cursor); tableRow.setDepth(++depth); tableRow.setEnd(cursor); tableRow.addToIndexes();
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public TableRow(int addr, TOP_Type type) { super(addr, type); readObject(); }
tbody.addToIndexes(); final TableRow first = new TableRow(jCas); first.setBegin(0); first.setEnd(5); first.addToIndexes(); final TableRow second = new TableRow(jCas); second.setBegin(6); second.setEnd(11); second.addToIndexes();
tableBody.setDepth(++depth); tableRow1 = new TableRow(jCas); tableRow1.setBegin(cursor); tableRow1.setDepth(++depth); tableCell12.addToIndexes(); tableRow1.setEnd(cursor); tableRow1.addToIndexes(); tableRow2 = new TableRow(jCas); tableRow2.setBegin(++cursor); tableRow2.setDepth(--depth); tableCell22.addToIndexes(); tableRow2.setEnd(cursor); tableRow2.addToIndexes();
tableBody.setDepth(++depth); tableRow1 = new TableRow(jCas); tableRow1.setBegin(cursor); tableRow1.setDepth(++depth); tableCell12.addToIndexes(); tableRow1.setEnd(cursor); tableRow1.addToIndexes(); tableRow2 = new TableRow(jCas); tableRow2.setBegin(++cursor); tableRow2.setDepth(--depth); tableCell22.addToIndexes(); tableRow2.setEnd(cursor); tableRow2.addToIndexes();