Mercurial > hg > anteater
comparison src/de/mpiwg/anteater/core/TextExtraction.java @ 0:036535fcd179
anteater
author | jdamerow |
---|---|
date | Fri, 14 Sep 2012 10:30:43 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:036535fcd179 |
---|---|
1 package de.mpiwg.anteater.core; | |
2 | |
3 public class TextExtraction { | |
4 | |
5 | |
6 private int type; | |
7 private String text; | |
8 private int textIdx; | |
9 | |
10 public TextExtraction() { | |
11 super(); | |
12 } | |
13 | |
14 public void setType(int type) { | |
15 this.type = type; | |
16 } | |
17 | |
18 public int getType() { | |
19 return type; | |
20 } | |
21 | |
22 public void setText(String text) { | |
23 this.text = text; | |
24 } | |
25 | |
26 /** | |
27 * So far this method is not used! | |
28 * @return | |
29 */ | |
30 @Deprecated | |
31 public String getText() { | |
32 return text; | |
33 } | |
34 | |
35 public void setTextIdx(int textIdx) { | |
36 this.textIdx = textIdx; | |
37 } | |
38 | |
39 public int getTextIdx() { | |
40 return textIdx; | |
41 } | |
42 | |
43 } |