com.jivesoftware.forum.renderer.filter.rules
Class StripTagsRule
java.lang.Object
com.jivesoftware.forum.renderer.filter.rules.StripTagsRule
- All Implemented Interfaces:
- com.jivesoftware.sitemesh.html.TagRule, com.jivesoftware.sitemesh.html.TextFilter
public class StripTagsRule
- extends java.lang.Object
- implements com.jivesoftware.sitemesh.html.TagRule, com.jivesoftware.sitemesh.html.TextFilter
Strips all tags from the input.
Method Summary |
java.lang.String |
filter(java.lang.String string,
int i,
com.jivesoftware.sitemesh.html.HTMLProcessorContext context)
|
boolean |
process(com.jivesoftware.sitemesh.html.Tag tag)
|
void |
setContext(com.jivesoftware.sitemesh.html.HTMLProcessorContext context)
|
boolean |
shouldProcess(java.lang.String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StripTagsRule
public StripTagsRule()
setContext
public void setContext(com.jivesoftware.sitemesh.html.HTMLProcessorContext context)
- Specified by:
setContext
in interface com.jivesoftware.sitemesh.html.TagRule
shouldProcess
public boolean shouldProcess(java.lang.String string)
- Specified by:
shouldProcess
in interface com.jivesoftware.sitemesh.html.TagRule
process
public boolean process(com.jivesoftware.sitemesh.html.Tag tag)
- Specified by:
process
in interface com.jivesoftware.sitemesh.html.TagRule
filter
public java.lang.String filter(java.lang.String string,
int i,
com.jivesoftware.sitemesh.html.HTMLProcessorContext context)
- Specified by:
filter
in interface com.jivesoftware.sitemesh.html.TextFilter
Copyright © 1999-2006 Jive Software.