Last change
on this file since 42 was
39,
checked in by zeiss, 14 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
972 bytes
|
Line | |
---|
1 | package de.ugoe.cs.swe.bnftools.ui.formatter;
|
---|
2 |
|
---|
3 | public class MetaTextEntry {
|
---|
4 | private String text;
|
---|
5 | private String transformedText = null;
|
---|
6 | private int offset;
|
---|
7 |
|
---|
8 | public MetaTextEntry(String text, int offset) {
|
---|
9 | this.text = text;
|
---|
10 | this.offset = offset;
|
---|
11 | }
|
---|
12 |
|
---|
13 | public MetaTextEntry(String text, String transformedText, int offset) {
|
---|
14 | this.text = text;
|
---|
15 | this.transformedText = transformedText;
|
---|
16 | this.offset = offset;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public String getText() {
|
---|
20 | return text;
|
---|
21 | }
|
---|
22 |
|
---|
23 | public void setText(String text) {
|
---|
24 | this.text = text;
|
---|
25 | }
|
---|
26 |
|
---|
27 | public int getOffset() {
|
---|
28 | return offset;
|
---|
29 | }
|
---|
30 |
|
---|
31 | public void setOffset(int offset) {
|
---|
32 | this.offset = offset;
|
---|
33 | }
|
---|
34 |
|
---|
35 | @Override
|
---|
36 | public String toString() {
|
---|
37 | return "MetaTextEntry [text=" + text + ", offset=" + offset + "]";
|
---|
38 | }
|
---|
39 |
|
---|
40 | public String getTransformedText() {
|
---|
41 | return transformedText;
|
---|
42 | }
|
---|
43 |
|
---|
44 | public void setTransformedText(String transformedText) {
|
---|
45 | this.transformedText = transformedText;
|
---|
46 | }
|
---|
47 |
|
---|
48 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.