/** * @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 Heading(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * @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 Heading(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
heading1.setDepth(++depth); cursor += HEADING1.length(); heading1.setEnd(cursor); heading1.addToIndexes(); heading2.setDepth(depth); cursor += HEADING1.length(); heading2.setEnd(cursor); heading2.addToIndexes(); heading3.setDepth(depth); cursor += HEADING1.length(); heading3.setEnd(cursor); heading3.addToIndexes();