org.archive.wayback.archivalurl
Class FastArchivalUrlReplayParseEventHandler

java.lang.Object
  extended by org.archive.wayback.archivalurl.FastArchivalUrlReplayParseEventHandler
All Implemented Interfaces:
ParseEventHandler

public class FastArchivalUrlReplayParseEventHandler
extends Object
implements ParseEventHandler

Lean and mean ParseEventHandler implementing current best-known server-side HTML rewrite rules, and should be much faster than the fully configurable version.

Author:
brad

Constructor Summary
FastArchivalUrlReplayParseEventHandler()
          Constructor...
 
Method Summary
 String getCommentJsp()
           
 String getJspInsertPath()
           
 void handleNode(ParseContext pContext, org.htmlparser.Node node)
           
 void handleParseComplete(ParseContext pContext)
           
 void setCommentJsp(String commentJsp)
           
 void setJspInsertPath(String jspInsertPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastArchivalUrlReplayParseEventHandler

public FastArchivalUrlReplayParseEventHandler()
Constructor...

Method Detail

handleNode

public void handleNode(ParseContext pContext,
                       org.htmlparser.Node node)
                throws IOException
Specified by:
handleNode in interface ParseEventHandler
Throws:
IOException

handleParseComplete

public void handleParseComplete(ParseContext pContext)
                         throws IOException
Specified by:
handleParseComplete in interface ParseEventHandler
Throws:
IOException

getJspInsertPath

public String getJspInsertPath()
Returns:
the jspInsertPath

setJspInsertPath

public void setJspInsertPath(String jspInsertPath)
Parameters:
jspInsertPath - the jspInsertPath to set

getCommentJsp

public String getCommentJsp()
Returns:
the commentJsp

setCommentJsp

public void setCommentJsp(String commentJsp)
Parameters:
commentJsp - the commentJsp to set


Copyright © 2005-2011 Internet Archive. All Rights Reserved.