Mercurial > hg > mpdl-group
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/software/mpdl-services/mpiwg-mpdl-xml/src/de/mpg/mpiwg/berlin/mpdl/xml/xquery/Hit.java Tue Nov 27 12:35:19 2012 +0100 @@ -0,0 +1,57 @@ +package de.mpg.mpiwg.berlin.mpdl.xml.xquery; + +public class Hit { + public static int TYPE_ELEMENT = 1; + public static int TYPE_ATTRIBUTE = 2; + public static int TYPE_ATOMIC_VALUE = 3; + private String name; + private int type; + private String content; + private int page = -1; + private int hitPagePosition = -1; + + public Hit(String content) { + this.content = content; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getType() { + return type; + } + + public void setType(int type) { + this.type = type; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public int getPage() { + return page; + } + + public void setPage(int page) { + this.page = page; + } + + public int getHitPagePosition() { + return hitPagePosition; + } + + public void setHitPagePosition(int hitPagePosition) { + this.hitPagePosition = hitPagePosition; + } + +}