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

ToHTMLRenderer - JBOSS Portal 2.6 API 英文版文档


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

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

public class ToHTMLRenderer
extends AbstractRenderer

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
 ParseEventHandler bbCodeHandler
           
private  BBCodeParser codeParser
           
private  ToHTMLConfig config
          Config.
private  DelegateContext ctx
          Context used by the code handler templates.
private  HTML4_0CharacterEntityReferenceParser HTMLCERP
           
 ParseEventHandler HTMLCRPHandler
           
private  int isInPre
          Code depth.
 ParseEventHandler lineBreakHandler
           
private  LineBreakParser lineBreakParser
           
 ParseEventHandler tagHandler
           
private  TagParser tagParser
           
private  XML1_0CharacterEntityReferenceParser XMLCERP
           
 ParseEventHandler XMLCRPHandler
           
 
Fields inherited from class org.jboss.portal.format.render.AbstractRenderer
log, writer
 
Constructor Summary
ToHTMLRenderer(java.util.ResourceBundle bundle)
           
ToHTMLRenderer(ToHTMLConfig config, java.util.ResourceBundle bundle)
          Setup the renderer with the given template repository.
 
Method Summary
 ToHTMLConfig getConfig()
           
 void render(char[] chars, int offset, int length)
          Render.
 void setConfig(ToHTMLConfig config)
           
 
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

codeParser

private final BBCodeParser codeParser

tagParser

private final TagParser tagParser

XMLCERP

private final XML1_0CharacterEntityReferenceParser XMLCERP

HTMLCERP

private final HTML4_0CharacterEntityReferenceParser HTMLCERP

lineBreakParser

private final LineBreakParser lineBreakParser

ctx

private final DelegateContext ctx
Context used by the code handler templates.


isInPre

private int isInPre
Code depth.


config

private ToHTMLConfig config
Config.


bbCodeHandler

public ParseEventHandler bbCodeHandler

tagHandler

public ParseEventHandler tagHandler

XMLCRPHandler

public ParseEventHandler XMLCRPHandler

HTMLCRPHandler

public ParseEventHandler HTMLCRPHandler

lineBreakHandler

public ParseEventHandler lineBreakHandler
Constructor Detail

ToHTMLRenderer

public ToHTMLRenderer(ToHTMLConfig config,
                      java.util.ResourceBundle bundle)
Setup the renderer with the given template repository.


ToHTMLRenderer

public ToHTMLRenderer(java.util.ResourceBundle bundle)
Method Detail

getConfig

public ToHTMLConfig getConfig()

setConfig

public void setConfig(ToHTMLConfig config)

render

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

Specified by:
render in class AbstractRenderer