aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2009-10-21 16:31:59 +0000
committerVincent Hennebert <vhennebert@apache.org>2009-10-21 16:31:59 +0000
commit7859b3ed2d10c712c35644164d7703192e3985d8 (patch)
treedfcb89e41517875f6f73210628e35b871e017d53 /src/java/org/apache/fop/apps
parentac5f083758e5f884c854cc886404aac823545e1b (diff)
downloadxmlgraphics-fop-7859b3ed2d10c712c35644164d7703192e3985d8.tar.gz
xmlgraphics-fop-7859b3ed2d10c712c35644164d7703192e3985d8.zip
Renamed TransformerNode into TransformerDefaultHandler and moved it into the a.o.f.util package.
Renamed TransformerNodeEndProcessing into AccessibilityPreprocessor. Renamed AccessibilityUtil into Accessibility and simplified the code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@828090 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps')
-rw-r--r--src/java/org/apache/fop/apps/FOUserAgent.java6
-rw-r--r--src/java/org/apache/fop/apps/Fop.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/apps/FOUserAgent.java b/src/java/org/apache/fop/apps/FOUserAgent.java
index 11de99e33..0a65203cc 100644
--- a/src/java/org/apache/fop/apps/FOUserAgent.java
+++ b/src/java/org/apache/fop/apps/FOUserAgent.java
@@ -37,7 +37,7 @@ import org.apache.xmlgraphics.image.loader.ImageSessionContext;
import org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext;
import org.apache.fop.Version;
-import org.apache.fop.accessibility.AccessibilityUtil;
+import org.apache.fop.accessibility.Accessibility;
import org.apache.fop.accessibility.StructureTree;
import org.apache.fop.events.DefaultEventBroadcaster;
import org.apache.fop.events.Event;
@@ -655,7 +655,7 @@ public class FOUserAgent {
*/
public void setAccessibility(boolean accessibility) {
if (accessibility) {
- getRendererOptions().put(AccessibilityUtil.ACCESSIBILITY, Boolean.TRUE);
+ getRendererOptions().put(Accessibility.ACCESSIBILITY, Boolean.TRUE);
}
}
@@ -664,7 +664,7 @@ public class FOUserAgent {
* @return true if accessibility is enabled
*/
public boolean isAccessibilityEnabled() {
- Boolean enabled = (Boolean)this.getRendererOptions().get(AccessibilityUtil.ACCESSIBILITY);
+ Boolean enabled = (Boolean)this.getRendererOptions().get(Accessibility.ACCESSIBILITY);
if (enabled != null) {
return enabled.booleanValue();
} else {
diff --git a/src/java/org/apache/fop/apps/Fop.java b/src/java/org/apache/fop/apps/Fop.java
index 9dfa70325..07fd4c0a4 100644
--- a/src/java/org/apache/fop/apps/Fop.java
+++ b/src/java/org/apache/fop/apps/Fop.java
@@ -24,7 +24,7 @@ import java.io.OutputStream;
import org.xml.sax.helpers.DefaultHandler;
-import org.apache.fop.accessibility.AccessibilityUtil;
+import org.apache.fop.accessibility.Accessibility;
import org.apache.fop.fo.FOTreeBuilder;
/**
@@ -112,7 +112,7 @@ public class Fop {
createDefaultHandler();
}
if (this.foUserAgent.isAccessibilityEnabled()) {
- return AccessibilityUtil.decorateDefaultHandler(this.foTreeBuilder, foUserAgent);
+ return Accessibility.decorateDefaultHandler(this.foTreeBuilder, foUserAgent);
} else {
return this.foTreeBuilder;
}