From 97581a9081ec184b9755bdc07ce049df9419ca06 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Fri, 11 Nov 2005 13:27:34 +0000 Subject: 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 --- .../org/apache/fop/render/ps/extensions/PSPageSetupCodeElement.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/java/org/apache/fop/render/ps/extensions/PSPageSetupCodeElement.java') diff --git a/src/java/org/apache/fop/render/ps/extensions/PSPageSetupCodeElement.java b/src/java/org/apache/fop/render/ps/extensions/PSPageSetupCodeElement.java index 7d3eed41c..7b334c122 100644 --- a/src/java/org/apache/fop/render/ps/extensions/PSPageSetupCodeElement.java +++ b/src/java/org/apache/fop/render/ps/extensions/PSPageSetupCodeElement.java @@ -44,9 +44,9 @@ public class PSPageSetupCodeElement extends AbstractPSExtensionObject { } } - /** @see org.apache.fop.fo.FONode#getName() */ - public String getName() { - return "fox:ps-page-setup-code"; + /** @see org.apache.fop.fo.FONode#getLocalName() */ + public String getLocalName() { + return "ps-page-setup-code"; } } -- cgit v1.2.3