| Index: test/com/dom_distiller/client/SimpleContentHandler.java
|
| diff --git a/test/com/dom_distiller/client/SimpleContentHandler.java b/test/com/dom_distiller/client/SimpleContentHandler.java
|
| index c533d6e3739c0dea2e524e7c792863b92784bfdf..ce07318b5dabf309d8f969cf6d4ec0a9af9a2f1e 100644
|
| --- a/test/com/dom_distiller/client/SimpleContentHandler.java
|
| +++ b/test/com/dom_distiller/client/SimpleContentHandler.java
|
| @@ -6,6 +6,7 @@ package com.dom_distiller.client;
|
|
|
| import com.dom_distiller.client.sax.Attributes;
|
| import com.dom_distiller.client.sax.ContentHandler;
|
| +import com.google.gwt.dom.client.Element;
|
|
|
| /**
|
| * This is a simple SAX content handler that converts sax events to an xml document. It only handles
|
| @@ -31,7 +32,8 @@ class SimpleContentHandler implements ContentHandler {
|
| public void startDocument() {}
|
|
|
| @Override
|
| - public void startElement(String uri, String localName, String qName, Attributes atts) {
|
| + public void startElement(
|
| + String uri, String localName, String qName, Element element, Attributes atts) {
|
| documentStringBuilder.append("<" + localName);
|
| for (int i = 0; i < atts.getLength(); i++) {
|
| documentStringBuilder.append(" ");
|
| @@ -45,7 +47,7 @@ class SimpleContentHandler implements ContentHandler {
|
| }
|
|
|
| @Override
|
| - public void endElement(String uri, String localName, String qName) {
|
| + public void endElement(String uri, String localName, String qName, Element element) {
|
| documentStringBuilder.append("</" + localName + ">");
|
| }
|
|
|
|
|