/** @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 Div(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
if (div instanceof Paragraph) { Node startNode = new Node(); startNode.position = div.getBegin(); startNode.type = "<p>"; nodes.add(startNode); endNode.position = div.getEnd(); endNode.type = "</p>"; nodes.add(endNode); startNode.position = div.getBegin(); startNode.type = "<h1>"; nodes.add(startNode); endNode.position = div.getEnd(); endNode.type = "</h1>"; nodes.add(endNode);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public Div(JCas jcas) { super(jcas); readObject(); }
if (div instanceof Paragraph) { Node startNode = new Node(); startNode.position = div.getBegin(); startNode.type = "<p>"; nodes.add(startNode); endNode.position = div.getEnd(); endNode.type = "</p>"; nodes.add(endNode); startNode.position = div.getBegin(); startNode.type = "<h1>"; nodes.add(startNode); endNode.position = div.getEnd(); endNode.type = "</h1>"; nodes.add(endNode);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public Div(JCas jcas) { super(jcas); 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 Div(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 Div(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Div(int addr, TOP_Type type) { super(addr, type); readObject(); }