Mercurial > hg > mpdl-group
view 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 source
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; } }