/** @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 AbstractText(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
AbstractText abstractText = new AbstractText(jCas, offset, sectionOffset); if (abstractParts.size() > 0) { FSArray sectionsArray = new FSArray(jCas, abstractParts.size()); for (int i = 0; i < abstractParts.size(); ++i) sectionsArray.set(i, abstractParts.get(i)); abstractText.setStructuredAbstractParts(sectionsArray); abstractText.addToIndexes(); return Arrays.asList(sb.toString());
FSArray fsArray = new FSArray(nxmlDocumentParser.cas, abstractSections.size()); IntStream.range(0, abstractSections.size()).forEach(i -> fsArray.set(i, abstractSections.get(i))); abstractText.setStructuredAbstractParts(fsArray); frontResult.addSubResult(r); });
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public AbstractText(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 AbstractText(int addr, TOP_Type type) { super(addr, type); readObject(); }