Jive Forums API (5.5.20.2-oracle) Developer Javadocs

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

java.lang.Object
  extended by com.jivesoftware.forum.renderer.filter.rules.TableReplaceRule
All Implemented Interfaces:
com.jivesoftware.sitemesh.html.TagRule, com.jivesoftware.sitemesh.html.TextFilter

public class TableReplaceRule
extends java.lang.Object
implements com.jivesoftware.sitemesh.html.TagRule, com.jivesoftware.sitemesh.html.TextFilter

This rule converts html tables to wiki table syntax.


Constructor Summary
TableReplaceRule()
           
 
Method Summary
 java.lang.String filter(java.lang.String string, int i, com.jivesoftware.sitemesh.html.HTMLProcessorContext htmlProcessorContext)
           
 boolean process(com.jivesoftware.sitemesh.html.Tag tag)
           
 void setContext(com.jivesoftware.sitemesh.html.HTMLProcessorContext htmlProcessorContext)
           
 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

TableReplaceRule

public TableReplaceRule()
Method Detail

setContext

public void setContext(com.jivesoftware.sitemesh.html.HTMLProcessorContext htmlProcessorContext)
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 htmlProcessorContext)
Specified by:
filter in interface com.jivesoftware.sitemesh.html.TextFilter

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.