diff options
author | Joerg Pietschmann <pietsch@apache.org> | 2005-09-08 22:06:48 +0000 |
---|---|---|
committer | Joerg Pietschmann <pietsch@apache.org> | 2005-09-08 22:06:48 +0000 |
commit | 4d77beff3195315d899d138db2fd5e592e41c9be (patch) | |
tree | b909a2d210d5f0ee17649a830653e2fd760e29be /src/java/org/apache/fop/fo/expr | |
parent | 1c5cae7362ae33673b79090a2e2ae668babcb9da (diff) | |
download | xmlgraphics-fop-4d77beff3195315d899d138db2fd5e592e41c9be.tar.gz xmlgraphics-fop-4d77beff3195315d899d138db2fd5e592e41c9be.zip |
Fixed javadoc errors.
Added a few TODOs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279656 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr')
-rw-r--r-- | src/java/org/apache/fop/fo/expr/NumericProperty.java | 9 | ||||
-rwxr-xr-x | src/java/org/apache/fop/fo/expr/RelativeNumericProperty.java | 14 |
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) { |