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

ToHTMLConfig - JBOSS Portal 2.6 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.format.render.bbcodehtml.ToHTMLConfig

public class ToHTMLConfig
extends java.lang.Object


Field Summary
private static TemplateRepository defaultRepository
           
static int FILTER_MODE_ALWAYS_PRINT
           
static int FILTER_MODE_NEVER_PRINT
           
static int FILTER_MODE_PRINT_IF_IN_TAGS
           
static int FILTER_MODE_PRINT_IF_NOT_IN_TAGS
           
private  int filterMode
           
private static Loader loader
           
private  int maxTextWidth
           
private  int ouputMode
           
static int OUTPUT_MODE_DISPLAY
           
static int OUTPUT_MODE_REMOVE
           
(package private)  Template r_b_close
           
(package private)  Template r_b_open
           
(package private)  Template r_code_close
           
(package private)  Template r_code_open
           
(package private)  Template r_color_close
           
(package private)  Template r_color_open
           
(package private)  Template r_email
           
(package private)  Template r_i_close
           
(package private)  Template r_i_open
           
(package private)  Template r_img
           
(package private)  Template r_listitem
           
(package private)  Template r_olist_close
           
(package private)  Template r_olist_open
           
(package private)  Template r_quote_close
           
(package private)  Template r_quote_open
           
(package private)  Template r_quote_username_open
           
(package private)  Template r_size_close
           
(package private)  Template r_size_open
           
(package private)  Template r_u_close
           
(package private)  Template r_u_open
           
(package private)  Template r_ulist_close
           
(package private)  Template r_ulist_open
           
(package private)  Template r_url
           
private  java.util.Set tags
           
static java.lang.String TPL_THEME_CODE_B_CLOSE
          Template name constants.
static java.lang.String TPL_THEME_CODE_B_OPEN
           
static java.lang.String TPL_THEME_CODE_CODE_CLOSE
           
static java.lang.String TPL_THEME_CODE_CODE_OPEN
           
static java.lang.String TPL_THEME_CODE_COLOR_CLOSE
           
static java.lang.String TPL_THEME_CODE_COLOR_OPEN
           
static java.lang.String TPL_THEME_CODE_EMAIL
           
static java.lang.String TPL_THEME_CODE_I_CLOSE
           
static java.lang.String TPL_THEME_CODE_I_OPEN
           
static java.lang.String TPL_THEME_CODE_IMG
           
static java.lang.String TPL_THEME_CODE_LISTITEM
           
static java.lang.String TPL_THEME_CODE_OLIST_CLOSE
           
static java.lang.String TPL_THEME_CODE_OLIST_OPEN
           
static java.lang.String TPL_THEME_CODE_QUOTE_CLOSE
           
static java.lang.String TPL_THEME_CODE_QUOTE_OPEN
           
static java.lang.String TPL_THEME_CODE_QUOTE_USERNAME_OPEN
           
static java.lang.String TPL_THEME_CODE_SIZE_CLOSE
           
static java.lang.String TPL_THEME_CODE_SIZE_OPEN
           
static java.lang.String TPL_THEME_CODE_U_CLOSE
           
static java.lang.String TPL_THEME_CODE_U_OPEN
           
static java.lang.String TPL_THEME_CODE_ULIST_CLOSE
           
static java.lang.String TPL_THEME_CODE_ULIST_OPEN
           
static java.lang.String TPL_THEME_CODE_URL
           
 
Constructor Summary
ToHTMLConfig()
           
 
Method Summary
private static TemplateLoader createRepository(Loader loader)
           
 int getFilterMode()
           
 int getMaxTextWidth()
           
 int getOuputMode()
           
 java.util.Set getTags()
           
private static void loadTemplate(TemplateLoader repository, java.lang.String name)
           
 boolean print(java.lang.String tag)
           
 void setFilterMode(int filterMode)
           
 void setLoader(Loader loader)
           
 void setMaxTextWidth(int maxTextWidth)
           
 void setOuputMode(int ouputMode)
           
private  void setRepository(TemplateRepository repository)
           
 void setTags(java.util.Set tags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TPL_THEME_CODE_B_CLOSE

public static final java.lang.String TPL_THEME_CODE_B_CLOSE
Template name constants.

See Also:
Constant Field Values

TPL_THEME_CODE_B_OPEN

public static final java.lang.String TPL_THEME_CODE_B_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_CODE_CLOSE

public static final java.lang.String TPL_THEME_CODE_CODE_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_CODE_OPEN

public static final java.lang.String TPL_THEME_CODE_CODE_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_COLOR_CLOSE

public static final java.lang.String TPL_THEME_CODE_COLOR_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_COLOR_OPEN

public static final java.lang.String TPL_THEME_CODE_COLOR_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_EMAIL

public static final java.lang.String TPL_THEME_CODE_EMAIL
See Also:
Constant Field Values

TPL_THEME_CODE_I_CLOSE

public static final java.lang.String TPL_THEME_CODE_I_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_I_OPEN

public static final java.lang.String TPL_THEME_CODE_I_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_IMG

public static final java.lang.String TPL_THEME_CODE_IMG
See Also:
Constant Field Values

TPL_THEME_CODE_LISTITEM

public static final java.lang.String TPL_THEME_CODE_LISTITEM
See Also:
Constant Field Values

TPL_THEME_CODE_OLIST_CLOSE

public static final java.lang.String TPL_THEME_CODE_OLIST_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_OLIST_OPEN

public static final java.lang.String TPL_THEME_CODE_OLIST_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_QUOTE_CLOSE

public static final java.lang.String TPL_THEME_CODE_QUOTE_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_QUOTE_OPEN

public static final java.lang.String TPL_THEME_CODE_QUOTE_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_QUOTE_USERNAME_OPEN

public static final java.lang.String TPL_THEME_CODE_QUOTE_USERNAME_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_SIZE_CLOSE

public static final java.lang.String TPL_THEME_CODE_SIZE_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_SIZE_OPEN

public static final java.lang.String TPL_THEME_CODE_SIZE_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_U_CLOSE

public static final java.lang.String TPL_THEME_CODE_U_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_U_OPEN

public static final java.lang.String TPL_THEME_CODE_U_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_ULIST_CLOSE

public static final java.lang.String TPL_THEME_CODE_ULIST_CLOSE
See Also:
Constant Field Values

TPL_THEME_CODE_ULIST_OPEN

public static final java.lang.String TPL_THEME_CODE_ULIST_OPEN
See Also:
Constant Field Values

TPL_THEME_CODE_URL

public static final java.lang.String TPL_THEME_CODE_URL
See Also:
Constant Field Values

FILTER_MODE_ALWAYS_PRINT

public static final int FILTER_MODE_ALWAYS_PRINT
See Also:
Constant Field Values

FILTER_MODE_NEVER_PRINT

public static final int FILTER_MODE_NEVER_PRINT
See Also:
Constant Field Values

FILTER_MODE_PRINT_IF_NOT_IN_TAGS

public static final int FILTER_MODE_PRINT_IF_NOT_IN_TAGS
See Also:
Constant Field Values

FILTER_MODE_PRINT_IF_IN_TAGS

public static final int FILTER_MODE_PRINT_IF_IN_TAGS
See Also:
Constant Field Values

OUTPUT_MODE_REMOVE

public static final int OUTPUT_MODE_REMOVE
See Also:
Constant Field Values

OUTPUT_MODE_DISPLAY

public static final int OUTPUT_MODE_DISPLAY
See Also:
Constant Field Values

loader

private static final Loader loader

defaultRepository

private static final TemplateRepository defaultRepository

r_ulist_open

Template r_ulist_open

r_ulist_close

Template r_ulist_close

r_olist_open

Template r_olist_open

r_olist_close

Template r_olist_close

r_listitem

Template r_listitem

r_quote_open

Template r_quote_open

r_quote_close

Template r_quote_close

r_quote_username_open

Template r_quote_username_open

r_code_open

Template r_code_open

r_code_close

Template r_code_close

r_b_open

Template r_b_open

r_b_close

Template r_b_close

r_u_open

Template r_u_open

r_u_close

Template r_u_close

r_i_open

Template r_i_open

r_i_close

Template r_i_close

r_color_open

Template r_color_open

r_color_close

Template r_color_close

r_size_open

Template r_size_open

r_size_close

Template r_size_close

r_img

Template r_img

r_url

Template r_url

r_email

Template r_email

tags

private java.util.Set tags

filterMode

private int filterMode

ouputMode

private int ouputMode

maxTextWidth

private int maxTextWidth
Constructor Detail

ToHTMLConfig

public ToHTMLConfig()
Method Detail

setLoader

public void setLoader(Loader loader)

getMaxTextWidth

public int getMaxTextWidth()

setMaxTextWidth

public void setMaxTextWidth(int maxTextWidth)

setTags

public void setTags(java.util.Set tags)

getTags

public java.util.Set getTags()

getFilterMode

public int getFilterMode()

setFilterMode

public void setFilterMode(int filterMode)

getOuputMode

public int getOuputMode()

setOuputMode

public void setOuputMode(int ouputMode)

print

public boolean print(java.lang.String tag)

setRepository

private void setRepository(TemplateRepository repository)

loadTemplate

private static void loadTemplate(TemplateLoader repository,
                                 java.lang.String name)

createRepository

private static TemplateLoader createRepository(Loader loader)