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/Block.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/Block.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Block.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Block.java b/src/java/org/apache/fop/fo/flow/Block.java index bdcf7c61d..b45b97782 100644 --- a/src/java/org/apache/fop/fo/flow/Block.java +++ b/src/java/org/apache/fop/fo/flow/Block.java @@ -345,6 +345,13 @@ public class Block extends FObjMixed { } /** + * @see org.apache.fop.fo.FObj#getNameId() + */ + public int getNameId() { + return FO_BLOCK; + } + + /** * @return true (Block can contain Markers) */ protected boolean containsMarkers() { |