| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package com.dom_distiller.client.sax; | 5 package com.dom_distiller.client.sax; |
| 6 | 6 |
| 7 import com.google.gwt.dom.client.Element; |
| 8 |
| 7 public interface ContentHandler { | 9 public interface ContentHandler { |
| 8 public void endDocument(); | 10 public void endDocument(); |
| 9 public void ignorableWhitespace(char[] ch, int start, int length); | 11 public void ignorableWhitespace(char[] ch, int start, int length); |
| 10 public void startDocument(); | 12 public void startDocument(); |
| 11 public void startElement(String uri, String localName, String qName, Attribu
tes atts); | 13 public void startElement(Element element, Attributes atts); |
| 12 public void endElement(String uri, String localName, String qName); | 14 public void endElement(Element element); |
| 13 public void characters(char[] ch, int start, int length); | 15 public void characters(char[] ch, int start, int length); |
| 14 } | 16 } |
| OLD | NEW |