aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/expr
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/expr')
-rw-r--r--src/java/org/apache/fop/fo/expr/NumericProperty.java9
-rwxr-xr-xsrc/java/org/apache/fop/fo/expr/RelativeNumericProperty.java14
2 files changed, 9 insertions, 14 deletions
diff --git a/src/java/org/apache/fop/fo/expr/NumericProperty.java b/src/java/org/apache/fop/fo/expr/NumericProperty.java
index dd146ce7f..ba0047448 100644
--- a/src/java/org/apache/fop/fo/expr/NumericProperty.java
+++ b/src/java/org/apache/fop/fo/expr/NumericProperty.java
@@ -61,9 +61,7 @@ public class NumericProperty extends Property implements Numeric, Length {
}
/**
- * Return the value.
- * @param Evaluation context
- * @see Numeric#getNumericValue(Object)
+ * @see Numeric#getNumericValue(PercentBaseContext)
*/
public double getNumericValue(PercentBaseContext context) {
return value;
@@ -92,15 +90,14 @@ public class NumericProperty extends Property implements Numeric, Length {
}
/**
- * Return the value of this numeric as a length in millipoints.
+ * @see org.apache.fop.datatypes.Numeric#getValue()
*/
public int getValue() {
return (int) value;
}
/**
- * Return the value of this numeric as a length in millipoints.
- * @param Evaluation context
+ * @see org.apache.fop.datatypes.Numeric#getValue(PercentBaseContext)
*/
public int getValue(PercentBaseContext context) {
return (int) value;
diff --git a/src/java/org/apache/fop/fo/expr/RelativeNumericProperty.java b/src/java/org/apache/fop/fo/expr/RelativeNumericProperty.java
index 1d4a921d3..07a2e2440 100755
--- a/src/java/org/apache/fop/fo/expr/RelativeNumericProperty.java
+++ b/src/java/org/apache/fop/fo/expr/RelativeNumericProperty.java
@@ -128,16 +128,14 @@ public class RelativeNumericProperty extends Property implements Numeric, Length
/**
* Return the resolved (calculated) value of the expression.
- * @see Numeric#getNumericValue()
+ * @see org.apache.fop.datatypes.Numeric#getNumericValue()
*/
public double getNumericValue() throws PropertyException {
return getResolved(null).getNumericValue(null);
}
/**
- * Return the value.
- * @param Evaluation context
- * @see Numeric#getNumericValue(Object)
+ * @see org.apache.fop.datatypes.Numeric#getNumericValue(PercentBaseContext)
*/
public double getNumericValue(PercentBaseContext context) throws PropertyException {
return getResolved(context).getNumericValue(context);
@@ -174,7 +172,7 @@ public class RelativeNumericProperty extends Property implements Numeric, Length
}
/**
- * Return a resolved length.
+ * @see org.apache.fop.datatypes.Numeric#getValue()
*/
public int getValue() {
try {
@@ -186,8 +184,7 @@ public class RelativeNumericProperty extends Property implements Numeric, Length
}
/**
- * Return the value of this numeric as a length in millipoints.
- * @param Evaluation context
+ * @see org.apache.fop.datatypes.Numeric#getValue(PercentBaseContext)
*/
public int getValue(PercentBaseContext context) {
try {
@@ -199,7 +196,8 @@ public class RelativeNumericProperty extends Property implements Numeric, Length
}
/**
- * Return a string represention of the expression. Only used for debugging.
+ * Return a string represention of the expression. Only used for debugging.
+ * @return the string representation.
*/
public String toString() {
switch (operation) {