/** * @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 Page(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Page(int addr, TOP_Type type) { super(addr, type); readObject(); }
private Page createFromArticle(final JCas jCas, final Element element) { final String clazz = element.attr(CLASS); switch (clazz.toLowerCase()) { case "sheet": return new Sheet(jCas); case "slide": return new Slide(jCas); case "page": // fall through default: return new Page(jCas); } }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public Page(JCas jcas) { super(jcas); readObject(); }
private Page createFromArticle(final JCas jCas, final Element element) { final String clazz = element.attr(CLASS); switch (clazz.toLowerCase()) { case "sheet": return new Sheet(jCas); case "slide": return new Slide(jCas); case "page": // fall through default: return new Page(jCas); } }
/** * @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 Page(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Page(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public Page(JCas jcas) { super(jcas); readObject(); }