aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/RegionStart.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-11-11 13:27:34 +0000
committerJeremias Maerki <jeremias@apache.org>2005-11-11 13:27:34 +0000
commit97581a9081ec184b9755bdc07ce049df9419ca06 (patch)
tree712588651e150a91b31c9159a7b94621fcc9decc /src/java/org/apache/fop/fo/pagination/RegionStart.java
parent305c92099a465a9ce03be094cb3d9fb34721bb4b (diff)
downloadxmlgraphics-fop-97581a9081ec184b9755bdc07ce049df9419ca06.tar.gz
xmlgraphics-fop-97581a9081ec184b9755bdc07ce049df9419ca06.zip
Made the FO tree a little more consistent by renaming getName() to getLocalName() and adding additional methods like: getNamespaceURI() and getNormalNamespacePrefix(). getName() now returns the fully qualified name combined from getLocalName() and getNormalNamespacePrefix(). For special cases you can call getName(String) to return a different namespace prefix.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332545 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionStart.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/RegionStart.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionStart.java b/src/java/org/apache/fop/fo/pagination/RegionStart.java
index 2d74069bc..f8f44c982 100644
--- a/src/java/org/apache/fop/fo/pagination/RegionStart.java
+++ b/src/java/org/apache/fop/fo/pagination/RegionStart.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -83,11 +83,9 @@ public class RegionStart extends RegionSE {
return "xsl-region-start";
}
- /**
- * @see org.apache.fop.fo.FObj#getName()
- */
- public String getName() {
- return "fo:region-start";
+ /** @see org.apache.fop.fo.FONode#getLocalName() */
+ public String getLocalName() {
+ return "region-start";
}
/**