diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/UnknownXMLObj.java')
-rw-r--r-- | src/java/org/apache/fop/fo/UnknownXMLObj.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/UnknownXMLObj.java b/src/java/org/apache/fop/fo/UnknownXMLObj.java index c46d311dd..49e104a96 100644 --- a/src/java/org/apache/fop/fo/UnknownXMLObj.java +++ b/src/java/org/apache/fop/fo/UnknownXMLObj.java @@ -61,13 +61,16 @@ public class UnknownXMLObj extends XMLObj { this.namespace = space; } - /** - * @see XMLObj#getNameSpace - */ - public String getNameSpace() { + /** @see org.apache.fop.fo.FONode#getNamespaceURI() */ + public String getNamespaceURI() { return this.namespace; } + /** @see org.apache.fop.fo.FONode#getNormalNamespacePrefix() */ + public String getNormalNamespacePrefix() { + return null; //We don't know that in this case. + } + /** * @see org.apache.fop.fo.FONode#addChildNode(FONode) */ @@ -88,5 +91,6 @@ public class UnknownXMLObj extends XMLObj { } super.addCharacters(data, start, length, pList, locator); } + } |