Enhance parser listener with title attributes for links.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 9 Mar 2009 20:04:44 +0000 (21:04 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 9 Mar 2009 20:04:44 +0000 (21:04 +0100)
src/net/pterodactylus/arachne/parser/ParserListener.java

index de81233..2bcc220 100644 (file)
@@ -31,9 +31,13 @@ public interface ParserListener extends EventListener {
         *
         * @param inputStream
         *            The parsed input stream
-        * @param link
-        *            The identified link
+        * @param linkTarget
+        *            The target URL of the link
+        * @param linkTitle
+        *            The title attribute of the link
+        * @param linkText
+        *            The text of the link
         */
-       public void parsedLink(InputStream inputStream, String link);
+       public void parsedLink(InputStream inputStream, String linkTarget, String linkTitle, String linkText);
 
 }