Revize 3ef07892
Přidáno uživatelem Jitka Poubová před asi 4 roky(ů)
be/fulltextsearch/src/main/java/cz/zcu/kiv/aswi/fulltextsearch/document/TextLine.java | ||
---|---|---|
1 | 1 |
package cz.zcu.kiv.aswi.fulltextsearch.document; |
2 | 2 |
|
3 |
import com.fasterxml.jackson.annotation.JsonIgnore; |
|
4 |
|
|
3 | 5 |
import javax.xml.bind.annotation.XmlAccessType; |
4 | 6 |
import javax.xml.bind.annotation.XmlAccessorType; |
5 | 7 |
import javax.xml.bind.annotation.XmlElement; |
6 |
import java.util.List; |
|
7 | 8 |
|
8 | 9 |
@XmlAccessorType(XmlAccessType.PROPERTY) |
9 | 10 |
public class TextLine { |
10 | 11 |
|
11 |
private Coords coords; |
|
12 |
private Coords lineCoords; |
|
13 |
private String lineText; |
|
14 |
private TextWord[] textWords; |
|
15 |
|
|
16 |
@JsonIgnore |
|
12 | 17 |
private TextEquiv textEquiv; |
13 |
private List<Word> words; |
|
14 | 18 |
|
15 |
public Coords getCoords() { |
|
16 |
return coords;
|
|
19 |
public Coords getLineCoords() {
|
|
20 |
return lineCoords;
|
|
17 | 21 |
} |
18 | 22 |
|
19 | 23 |
@XmlElement(name = "Coords") |
20 |
public void setCoords(Coords coords) {
|
|
21 |
this.coords = coords;
|
|
24 |
public void setLineCoords(Coords lineCoords) {
|
|
25 |
this.lineCoords = lineCoords;
|
|
22 | 26 |
} |
23 | 27 |
|
24 | 28 |
public TextEquiv getTextEquiv() { |
... | ... | |
30 | 34 |
this.textEquiv = textEquiv; |
31 | 35 |
} |
32 | 36 |
|
33 |
public List<Word> getWords() {
|
|
34 |
return words;
|
|
37 |
public TextWord[] getTextWords() {
|
|
38 |
return textWords;
|
|
35 | 39 |
} |
36 | 40 |
|
37 | 41 |
@XmlElement(name = "Word") |
38 |
public void setWords(List<Word> words) {
|
|
39 |
this.words = words;
|
|
42 |
public void setTextWords(TextWord[] textWords) {
|
|
43 |
this.textWords = textWords;
|
|
40 | 44 |
} |
41 | 45 |
|
46 |
public String getLineText() { |
|
47 |
return lineText; |
|
48 |
} |
|
49 |
|
|
50 |
public void setLineText(String lineText) { |
|
51 |
this.lineText = lineText; |
|
52 |
} |
|
42 | 53 |
} |
Také k dispozici: Unified diff
Re #7805: Vracení nalezených dokumentů na query
- předěláno dle struktury na Wiki (stránka Architektura FE)