/** * @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 SlideShow(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 SlideShow(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** * Create a Document, selecting sub type if appropriate. * * @param jCas the jCas * @param element the element name * @return the Style */ private Document createFromMain(final JCas jCas, final Element element) { final String clazz = element.attr(CLASS); switch (clazz.toLowerCase()) { case "spreadsheet": return new SpreadSheet(jCas); case "slideshow": return new SlideShow(jCas); case "document": default: return new Document(jCas); } }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public SlideShow(JCas jcas) { super(jcas); readObject(); }
/** * Create a Document, selecting sub type if appropriate. * * @param jCas the jCas * @param element the element name * @return the Style */ private Document createFromMain(final JCas jCas, final Element element) { final String clazz = element.attr(CLASS); switch (clazz.toLowerCase()) { case "spreadsheet": return new SpreadSheet(jCas); case "slideshow": return new SlideShow(jCas); case "document": default: return new Document(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 SlideShow(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public SlideShow(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 SlideShow(int addr, TOP_Type type) { super(addr, type); readObject(); }