public class UrlModifyingVisitor extends NodeVisitor
| 构造器和说明 |
|---|
UrlModifyingVisitor(java.lang.String linkPrefix) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getModifiedResult() |
void |
visitEndTag(Tag tag)
Called for each
Tag visited that is an end tag. |
void |
visitRemarkNode(Remark remarkNode)
Called for each
RemarkNode visited. |
void |
visitStringNode(Text stringNode)
Called for each
StringNode visited. |
void |
visitTag(Tag tag)
Called for each
Tag visited. |
beginParsing, finishedParsing, shouldRecurseChildren, shouldRecurseSelfpublic void visitRemarkNode(Remark remarkNode)
NodeVisitorRemarkNode visited.visitRemarkNode 在类中 NodeVisitorremarkNode - The remark node being visited.public void visitStringNode(Text stringNode)
NodeVisitorStringNode visited.visitStringNode 在类中 NodeVisitorstringNode - The string node being visited.public void visitTag(Tag tag)
NodeVisitorTag visited.visitTag 在类中 NodeVisitortag - The tag being visited.public void visitEndTag(Tag tag)
NodeVisitorTag visited that is an end tag.visitEndTag 在类中 NodeVisitortag - The end tag being visited.public java.lang.String getModifiedResult()