站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

ToTextRenderer - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.format.render.bbcodehtml
Class ToTextRenderer

java.lang.Object
  extended byorg.jboss.portal.format.render.AbstractRenderer
      extended byorg.jboss.portal.format.render.bbcodehtml.ToTextRenderer

public class ToTextRenderer
extends AbstractRenderer

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
private  ParseEventHandler codeHandler
           
private  BBCodeParser codeParser
           
private  int indentLevel
          Indentation level.
private  int isInCode
          Code depth.
private  ParseEventHandler lineBreakHandler
           
private  LineBreakParser lineBreakParser
           
private  java.lang.String PRECEDE_CODE
           
private  ParseEventHandler tagHandler
           
private  TagParser tagParser
           
 
Fields inherited from class org.jboss.portal.format.render.AbstractRenderer
log, writer
 
Constructor Summary
ToTextRenderer()
           
 
Method Summary
 void render(char[] chars, int offset, int length)
          Render.
 
Methods inherited from class org.jboss.portal.format.render.AbstractRenderer
render, setWriter, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRECEDE_CODE

private final java.lang.String PRECEDE_CODE
See Also:
Constant Field Values

codeParser

private final BBCodeParser codeParser

tagParser

private final TagParser tagParser

lineBreakParser

private final LineBreakParser lineBreakParser

isInCode

private int isInCode
Code depth.


indentLevel

private int indentLevel
Indentation level.


codeHandler

private ParseEventHandler codeHandler

tagHandler

private ParseEventHandler tagHandler

lineBreakHandler

private ParseEventHandler lineBreakHandler
Constructor Detail

ToTextRenderer

public ToTextRenderer()
Method Detail

render

public void render(char[] chars,
                   int offset,
                   int length)
Description copied from class: AbstractRenderer
Render.

Specified by:
render in class AbstractRenderer