From bab2b5ed5424c861129c38ca47ec64aa4d430779 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 9 Mar 2009 21:04:44 +0100 Subject: [PATCH] Enhance parser listener with title attributes for links. --- src/net/pterodactylus/arachne/parser/ParserListener.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/net/pterodactylus/arachne/parser/ParserListener.java b/src/net/pterodactylus/arachne/parser/ParserListener.java index de81233..2bcc220 100644 --- a/src/net/pterodactylus/arachne/parser/ParserListener.java +++ b/src/net/pterodactylus/arachne/parser/ParserListener.java @@ -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); } -- 2.7.4