diff options
author | Glen Mazza <gmazza@apache.org> | 2004-08-08 18:39:26 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-08-08 18:39:26 +0000 |
commit | 4e8a44140791a7565d4b7ae3983f9a594e300b49 (patch) | |
tree | d81ad1af1598398fd08d4db59df0dd5ae4560b43 /src/java/org/apache/fop/fo/flow/TableRow.java | |
parent | 0b09e52cd836a838e3140ef8113532d3033433a1 (diff) | |
download | xmlgraphics-fop-4e8a44140791a7565d4b7ae3983f9a594e300b49.tar.gz xmlgraphics-fop-4e8a44140791a7565d4b7ae3983f9a594e300b49.zip |
Implemented getNameId() which returns the Constants enumeration ID
for the FO. For future array work or to reduce the amount of string comparisons being done.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197861 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableRow.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableRow.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableRow.java b/src/java/org/apache/fop/fo/flow/TableRow.java index 7ddf4d9d1..d45be3bc8 100644 --- a/src/java/org/apache/fop/fo/flow/TableRow.java +++ b/src/java/org/apache/fop/fo/flow/TableRow.java @@ -153,4 +153,10 @@ public class TableRow extends FObj { return "fo:table-row"; } + /** + * @see org.apache.fop.fo.FObj#getNameId() + */ + public int getNameId() { + return FO_TABLE_ROW; + } } |