aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorPeter Hancock <phancock@apache.org>2012-01-31 09:27:01 +0000
committerPeter Hancock <phancock@apache.org>2012-01-31 09:27:01 +0000
commit9e004dd3c026a0453959f7773856b4a31a947c50 (patch)
treef95e9d07172a5dd230cea4e7101c3726a9ec805e /src/java
parent160d78ce1c348b96e9807f59f3d20bb2226e75c0 (diff)
downloadxmlgraphics-fop-9e004dd3c026a0453959f7773856b4a31a947c50.tar.gz
xmlgraphics-fop-9e004dd3c026a0453959f7773856b4a31a947c50.zip
Cleanup associated with rev 1236718
Removed unused structure tree events. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1238313 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/accessibility/DummyStructureTreeEventHandler.java6
-rw-r--r--src/java/org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java7
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java8
3 files changed, 0 insertions, 21 deletions
diff --git a/src/java/org/apache/fop/accessibility/DummyStructureTreeEventHandler.java b/src/java/org/apache/fop/accessibility/DummyStructureTreeEventHandler.java
index 07daf2f73..f8507a64f 100644
--- a/src/java/org/apache/fop/accessibility/DummyStructureTreeEventHandler.java
+++ b/src/java/org/apache/fop/accessibility/DummyStructureTreeEventHandler.java
@@ -50,14 +50,8 @@ public final class DummyStructureTreeEventHandler implements StructureTreeEventH
return null;
}
- public void endImageNode(String name) {
- }
-
public StructureTreeElement startReferencedNode(String name, Attributes attributes) {
return null;
}
- public void endReferencedNode(String name) {
- }
-
}
diff --git a/src/java/org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java b/src/java/org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java
index 2cd92a5ce..6578b452e 100644
--- a/src/java/org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java
+++ b/src/java/org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java
@@ -109,15 +109,8 @@ public final class StructureTree2SAXEventAdapter implements StructureTreeEventHa
return startNode(name, attributes);
}
- public void endImageNode(String name) {
- endNode(name);
- }
-
public StructureTreeElement startReferencedNode(String name, Attributes attributes) {
return startNode(name, attributes);
}
- public void endReferencedNode(String name) {
- endNode(name);
- }
}
diff --git a/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java b/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java
index 3b5b00c33..11eba4ea4 100644
--- a/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java
+++ b/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java
@@ -97,10 +97,6 @@ class PDFStructureTreeBuilder implements StructureTreeEventHandler {
return created;
}
- public void endImageNode(String name) {
- removeFirstAncestor();
- }
-
public StructureTreeElement startReferencedNode(String name, Attributes attributes) {
PDFStructElem parent = ancestors.getFirst();
String role = attributes.getValue("role");
@@ -117,8 +113,4 @@ class PDFStructureTreeBuilder implements StructureTreeEventHandler {
return created;
}
- public void endReferencedNode(String name) {
- removeFirstAncestor();
- }
-
}