public class CitableUnit
extends java.lang.Object
Constructor and Description |
---|
CitableUnit() |
CitableUnit(org.w3c.dom.Node node,
java.lang.Double frequency,
java.lang.Double score,
int relDepth) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getFrequency() |
org.w3c.dom.Node |
getNode() |
int |
getRelativeDepth() |
java.lang.Double |
getScore() |
void |
setFrequency(java.lang.Double frequency) |
void |
setNode(org.w3c.dom.Node node) |
void |
setRelativeDepth(int relDepth) |
void |
setScore(java.lang.Double score) |
public CitableUnit(org.w3c.dom.Node node, java.lang.Double frequency, java.lang.Double score, int relDepth)
node
- the node corresponding to the citable unitfrequency
- the frequency of the nodescore
- the score of the noderelDepth
- The depth of the node relative to the context node to be citedpublic CitableUnit()
public org.w3c.dom.Node getNode()
public java.lang.Double getFrequency()
public java.lang.Double getScore()
public int getRelativeDepth()
public void setNode(org.w3c.dom.Node node)
public void setFrequency(java.lang.Double frequency)
public void setScore(java.lang.Double score)
public void setRelativeDepth(int relDepth)