From 4f59ee68009fe338e969064e37673a36a3055186 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 13 Aug 2008 06:56:32 +0000 Subject: Removed temporary debug code. Switched tests to changed namespace URI for document navigation. Added IF checks for fox:destionation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685466 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/layoutengine/EvalCheck.java | 38 +--------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'test/java/org/apache') diff --git a/test/java/org/apache/fop/layoutengine/EvalCheck.java b/test/java/org/apache/fop/layoutengine/EvalCheck.java index 01804d55e..32d9e689b 100644 --- a/test/java/org/apache/fop/layoutengine/EvalCheck.java +++ b/test/java/org/apache/fop/layoutengine/EvalCheck.java @@ -62,7 +62,7 @@ public class EvalCheck implements LayoutEngineCheck, IFCheck { if (nd != null) { this.tolerance = Double.parseDouble(nd.getNodeValue()); } - this.prefixResolver = new MyPrefixResolver(new PrefixResolverDefault(node)); + this.prefixResolver = new PrefixResolverDefault(node); } /** {@inheritDoc} */ @@ -105,40 +105,4 @@ public class EvalCheck implements LayoutEngineCheck, IFCheck { return "XPath: " + xpath; } - private static class MyPrefixResolver implements PrefixResolver { - - private PrefixResolver delegate; - - public MyPrefixResolver(PrefixResolver delegate) { - this.delegate = delegate; - } - - /** {@inheritDoc} */ - public String getBaseIdentifier() { - String s = delegate.getBaseIdentifier(); - System.out.println(s); - return s; - } - - /** {@inheritDoc} */ - public String getNamespaceForPrefix(String prefix) { - String s = delegate.getNamespaceForPrefix(prefix); - System.out.println(s); - return s; - } - - /** {@inheritDoc} */ - public String getNamespaceForPrefix(String prefix, Node context) { - String s = delegate.getNamespaceForPrefix(prefix, context); - System.out.println(s); - return s; - } - - /** {@inheritDoc} */ - public boolean handlesNullPrefixes() { - return delegate.handlesNullPrefixes(); - } - - } - } -- cgit v1.2.3