diff options
author | Simon Pepping <spepping@apache.org> | 2010-11-19 11:25:15 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2010-11-19 11:25:15 +0000 |
commit | bf82c8fb0162ff0c8f31092b73756746b424c3a4 (patch) | |
tree | b07689142d7797be799e869f415f2ebcba14a5ff /src/sandbox/org/apache/fop | |
parent | b418c6d6c8623f4689b22585c18cf8d5808b7554 (diff) | |
download | xmlgraphics-fop-bf82c8fb0162ff0c8f31092b73756746b424c3a4.tar.gz xmlgraphics-fop-bf82c8fb0162ff0c8f31092b73756746b424c3a4.zip |
Reverting renaming of public methods of rev. 1036179
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/sandbox/org/apache/fop')
-rw-r--r-- | src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java b/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java index ea73da0a1..c46c35b99 100644 --- a/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java +++ b/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java @@ -38,7 +38,7 @@ public class SVGSVGHandler implements XMLHandler, SVGRendererContextConstants { /** {@inheritDoc} */ public void handleXML(RendererContext context, org.w3c.dom.Document doc, String ns) throws Exception { - if (getNameSpace().equals(ns)) { + if (getNamespace().equals(ns)) { if (!(doc instanceof SVGDocument)) { DOMImplementation impl = SVGDOMImplementation.getDOMImplementation(); doc = DOMUtilities.deepCloneDocument(doc, impl); @@ -46,7 +46,7 @@ public class SVGSVGHandler implements XMLHandler, SVGRendererContextConstants { SVGSVGElement svg = ((SVGDocument) doc).getRootElement(); SVGDocument targetDoc = (SVGDocument)context.getProperty(SVG_DOCUMENT); SVGElement currentPageG = (SVGElement)context.getProperty(SVG_PAGE_G); - Element view = targetDoc.createElementNS(getNameSpace(), "svg"); + Element view = targetDoc.createElementNS(getNamespace(), "svg"); Node newsvg = targetDoc.importNode(svg, true); //view.setAttributeNS(null, "viewBox", "0 0 "); int xpos = ((Integer)context.getProperty(XPOS)).intValue(); @@ -57,7 +57,7 @@ public class SVGSVGHandler implements XMLHandler, SVGRendererContextConstants { // this fixes a problem where the xmlns is repeated sometimes Element ele = (Element) newsvg; ele.setAttributeNS(XMLSupport.XMLNS_NAMESPACE_URI, "xmlns", - getNameSpace()); + getNamespace()); if (ele.hasAttributeNS(null, "xmlns")) { ele.removeAttributeNS(null, "xmlns"); } @@ -74,7 +74,7 @@ public class SVGSVGHandler implements XMLHandler, SVGRendererContextConstants { } /** {@inheritDoc} */ - public String getNameSpace() { + public String getNamespace() { return SVGRenderer.MIME_TYPE; } |