public interface AttributeRewriter
AttributeRewriter
provides service for rewriting attribute values
in HTML document.
FastArchivalUrlReplayParseEventHandler
delegates rewrite of URL-bearing
attributes to an object implementing this interface.Modifier and Type | Method and Description |
---|---|
void |
rewrite(ReplayParseContext context,
org.htmlparser.nodes.TagNode tag)
Rewrite attributes of HTML tag
tag . |
void rewrite(ReplayParseContext context, org.htmlparser.nodes.TagNode tag)
tag
.
This method checks all attributes of tag
it concerned
with, and modify their value in-place. context
provides
an interface for rewriting URL for replay, etc.context
- provides access to various context informationtag
- tag whose attributes are to be rewritten.Copyright © 2005–2015 IIPC. All rights reserved.