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/pagination/RepeatablePageMasterReference.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/pagination/RepeatablePageMasterReference.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/RepeatablePageMasterReference.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RepeatablePageMasterReference.java b/src/java/org/apache/fop/fo/pagination/RepeatablePageMasterReference.java index 060a19d2f..8f6ae241a 100644 --- a/src/java/org/apache/fop/fo/pagination/RepeatablePageMasterReference.java +++ b/src/java/org/apache/fop/fo/pagination/RepeatablePageMasterReference.java @@ -106,4 +106,11 @@ public class RepeatablePageMasterReference extends PageMasterReference public String getName() { return "fo:repeatable-page-master-reference"; } + + /** + * @see org.apache.fop.fo.FObj#getNameId() + */ + public int getNameId() { + return FO_REPEATABLE_PAGE_MASTER_REFERENCE; + } } |