Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2934)

Unified Diff: boilerpipe-core/src/main/de/l3s/boilerpipe/sax/TagAction.java

Issue 296113004: Start using computed style instead of default tag actions. (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: Fixed nit. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: boilerpipe-core/src/main/de/l3s/boilerpipe/sax/TagAction.java
diff --git a/boilerpipe-core/src/main/de/l3s/boilerpipe/sax/TagAction.java b/boilerpipe-core/src/main/de/l3s/boilerpipe/sax/TagAction.java
index cd9e2f75ce94d4e698f68a8ddc48b1433b4b5216..3e745a660c402e2b90c7961b06d2c4b584bce652 100644
--- a/boilerpipe-core/src/main/de/l3s/boilerpipe/sax/TagAction.java
+++ b/boilerpipe-core/src/main/de/l3s/boilerpipe/sax/TagAction.java
@@ -22,16 +22,14 @@ import com.dom_distiller.client.sax.Attributes;
/**
* Defines an action that is to be performed whenever a particular tag occurs
* during HTML parsing.
- *
+ *
* @author Christian Kohlschütter
*/
public interface TagAction {
- boolean start(final BoilerpipeHTMLContentHandler instance,
- final String localName, final String qName, final Attributes atts);
+ boolean start(final BoilerpipeHTMLContentHandler instance, final Attributes atts);
+
+ boolean end(final BoilerpipeHTMLContentHandler instance);
- boolean end(final BoilerpipeHTMLContentHandler instance,
- final String localName, final String qName);
-
- boolean changesTagLevel();
+ boolean changesTagLevel();
}
« no previous file with comments | « boilerpipe-core/src/main/de/l3s/boilerpipe/sax/MarkupTagAction.java ('k') | src/com/dom_distiller/client/DomToSaxVisitor.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698