net.sourceforge.scopes.window
Class WindowNameNodeVisitor
java.lang.Object
org.htmlparser.visitors.NodeVisitor
net.sourceforge.scopes.rewriters.ModifierNodeVisitor
net.sourceforge.scopes.window.WindowNameNodeVisitor
- All Implemented Interfaces:
- ContextPathUser
public class WindowNameNodeVisitor
- extends ModifierNodeVisitor
- implements ContextPathUser
Visits an HTML file to add code for managing Window scope.
Method Summary |
void |
beginParsing()
|
void |
configure(java.util.Map<java.lang.String,java.lang.Object> parameters)
Configures the visitor. |
void |
setContextPath(java.lang.String contextPath)
Sets the context path to refer to. |
void |
visitEndTag(org.htmlparser.Tag tag)
|
void |
visitStringNode(org.htmlparser.Text string)
|
void |
visitTag(org.htmlparser.Tag tag)
|
Methods inherited from class org.htmlparser.visitors.NodeVisitor |
finishedParsing, shouldRecurseChildren, shouldRecurseSelf, visitRemarkNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowNameNodeVisitor
public WindowNameNodeVisitor()
configure
public void configure(java.util.Map<java.lang.String,java.lang.Object> parameters)
- Description copied from class:
ModifierNodeVisitor
- Configures the visitor.
- Overrides:
configure
in class ModifierNodeVisitor
- Parameters:
parameters
- Parameters map.
setContextPath
public void setContextPath(java.lang.String contextPath)
- Description copied from interface:
ContextPathUser
- Sets the context path to refer to.
- Specified by:
setContextPath
in interface ContextPathUser
- Parameters:
contextPath
- The context path.
beginParsing
public void beginParsing()
- Overrides:
beginParsing
in class org.htmlparser.visitors.NodeVisitor
visitTag
public void visitTag(org.htmlparser.Tag tag)
- Overrides:
visitTag
in class org.htmlparser.visitors.NodeVisitor
visitEndTag
public void visitEndTag(org.htmlparser.Tag tag)
- Overrides:
visitEndTag
in class org.htmlparser.visitors.NodeVisitor
visitStringNode
public void visitStringNode(org.htmlparser.Text string)
- Overrides:
visitStringNode
in class org.htmlparser.visitors.NodeVisitor