com.jivesoftware.forum.renderer.filter.rules
Class AnchorReplaceRule
java.lang.Object
com.jivesoftware.sitemesh.html.BasicRule
com.jivesoftware.forum.renderer.filter.rules.AnchorReplaceRule
- All Implemented Interfaces:
- com.jivesoftware.sitemesh.html.TagRule, com.jivesoftware.sitemesh.html.TextFilter
public class AnchorReplaceRule
- extends com.jivesoftware.sitemesh.html.BasicRule
- implements com.jivesoftware.sitemesh.html.TextFilter
This rule converts html anchor links to wiki link syntax.
Fields inherited from class com.jivesoftware.sitemesh.html.BasicRule |
context |
Method Summary |
java.lang.String |
filter(java.lang.String string,
int position,
com.jivesoftware.sitemesh.html.HTMLProcessorContext htmlProcessorContext)
|
boolean |
process(com.jivesoftware.sitemesh.html.Tag tag)
|
Methods inherited from class com.jivesoftware.sitemesh.html.BasicRule |
currentBuffer, setContext, shouldProcess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnchorReplaceRule
public AnchorReplaceRule(RenderContext renderContext)
process
public boolean process(com.jivesoftware.sitemesh.html.Tag tag)
- Specified by:
process
in interface com.jivesoftware.sitemesh.html.TagRule
- Specified by:
process
in class com.jivesoftware.sitemesh.html.BasicRule
filter
public java.lang.String filter(java.lang.String string,
int position,
com.jivesoftware.sitemesh.html.HTMLProcessorContext htmlProcessorContext)
- Specified by:
filter
in interface com.jivesoftware.sitemesh.html.TextFilter
Copyright © 1999-2006 Jive Software.