comparison software/mpdl-services/mpiwg-mpdl-xml/src/de/mpg/mpiwg/berlin/mpdl/xml/xquery/Hit.java @ 23:e845310098ba

diverse Korrekturen
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Tue, 27 Nov 2012 12:35:19 +0100
parents
children
comparison
equal deleted inserted replaced
22:6a45a982c333 23:e845310098ba
1 package de.mpg.mpiwg.berlin.mpdl.xml.xquery;
2
3 public class Hit {
4 public static int TYPE_ELEMENT = 1;
5 public static int TYPE_ATTRIBUTE = 2;
6 public static int TYPE_ATOMIC_VALUE = 3;
7 private String name;
8 private int type;
9 private String content;
10 private int page = -1;
11 private int hitPagePosition = -1;
12
13 public Hit(String content) {
14 this.content = content;
15 }
16
17 public String getName() {
18 return name;
19 }
20
21 public void setName(String name) {
22 this.name = name;
23 }
24
25 public int getType() {
26 return type;
27 }
28
29 public void setType(int type) {
30 this.type = type;
31 }
32
33 public String getContent() {
34 return content;
35 }
36
37 public void setContent(String content) {
38 this.content = content;
39 }
40
41 public int getPage() {
42 return page;
43 }
44
45 public void setPage(int page) {
46 this.page = page;
47 }
48
49 public int getHitPagePosition() {
50 return hitPagePosition;
51 }
52
53 public void setHitPagePosition(int hitPagePosition) {
54 this.hitPagePosition = hitPagePosition;
55 }
56
57 }