/** @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 AbstractSection(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
abstractPartHeading.addToIndexes(); AbstractSection abstractPart = new AbstractSection(jCas); abstractPart.setBegin(sectionOffset); sectionOffset += abstractSectionText.length(); abstractPart.setEnd(sectionOffset); abstractPart.setAbstractSectionHeading(abstractPartHeading); abstractPart.addToIndexes(); --sectionOffset; for (AbstractSection section : abstractParts) { section.setBegin(offset); section.setEnd(offset);
section.setComponentId(PMCReader.class.getName()); section.setAbstractSectionHeading(sectionHeading); } else { SectionTitle sectionHeading = null;
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public AbstractSection(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public AbstractSection(JCas jcas) { super(jcas); readObject(); }