/** * @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 Header(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
Header header = new Header(jCas); header.setBegin(cursor); header.setEnd(cursor); header.setDepth(depth); header.addToIndexes();
private void addStructure() { final Header header = new Header(jCas, 0, 17); header.addToIndexes(); final Paragraph paragraph = new Paragraph(jCas, 18, 38); paragraph.addToIndexes(); final Footer footer = new Footer(jCas, 40, jCas.getDocumentText().length()); footer.addToIndexes(); }
break; case "header": s = new Header(jCas); break; case "footer":
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public Header(JCas jcas) { super(jcas); readObject(); }
break; case "header": s = new Header(jCas); break; case "footer":
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Header(int addr, TOP_Type type) { super(addr, type); 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 Header(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public Header(JCas jcas) { super(jcas); readObject(); }
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Header(int addr, TOP_Type type) { super(addr, type); readObject(); }