Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.renderer.filter.rules
Class StripTagsRule

java.lang.Object
  extended by 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.


Constructor Summary
StripTagsRule()
           
 
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
 

Constructor Detail

StripTagsRule

public StripTagsRule()
Method Detail

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

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.