Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.roller.presentation.velocity.plugins.textile
Class TextilePlugin  view TextilePlugin download TextilePlugin.java

java.lang.Object
  extended byorg.roller.presentation.velocity.plugins.textile.TextilePlugin
All Implemented Interfaces:
org.roller.presentation.velocity.PagePlugin

public class TextilePlugin
extends java.lang.Object
implements org.roller.presentation.velocity.PagePlugin


Field Summary
private  Textile mTextile
           
 
Constructor Summary
TextilePlugin()
           
 
Method Summary
 void init(org.roller.presentation.RollerRequest rreq, org.apache.velocity.context.Context ctx)
          Put plugin into the page context so templates may access it.
 java.lang.String render(java.lang.String src)
          Convert an input string that contains text that uses the Textile syntax to an output string in HTML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mTextile

private Textile mTextile
Constructor Detail

TextilePlugin

public TextilePlugin()
Method Detail

init

public void init(org.roller.presentation.RollerRequest rreq,
                 org.apache.velocity.context.Context ctx)
Put plugin into the page context so templates may access it.

Specified by:
init in interface org.roller.presentation.velocity.PagePlugin

render

public java.lang.String render(java.lang.String src)
Convert an input string that contains text that uses the Textile syntax to an output string in HTML format.