|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kefirsf.bb.TextProcessorAdapter
org.kefirsf.bb.proc.BBProcessor
public final class BBProcessor
The bbcode processor. You can use the standard code set or define other.
| Constructor Summary | |
|---|---|
BBProcessor()
Create the bbcode processor |
|
| Method Summary | |
|---|---|
CharSequence |
process(CharSequence source)
Process bbcodes 1. |
void |
setConstants(Set<PatternConstant> constants)
|
void |
setNestingLimit(int nestingLimit)
|
void |
setParams(Map<String,Object> params)
Set text processor parameters map. |
void |
setPrefix(ProcTemplate prefix)
Set the prefix for text processor |
void |
setPropagateNestingException(boolean propagateNestingException)
|
void |
setScope(ProcScope scope)
Set the root scope of text processor. |
void |
setSuffix(ProcTemplate suffix)
Set the suffix for text processor |
| Methods inherited from class org.kefirsf.bb.TextProcessorAdapter |
|---|
process, process, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BBProcessor()
| Method Detail |
|---|
public CharSequence process(CharSequence source)
source - the source string
TextProcessor.process(CharSequence)
public void setScope(ProcScope scope)
throws IllegalStateException
scope - root code scope
IllegalStateException - if scope already setted
public void setPrefix(ProcTemplate prefix)
throws IllegalStateException
prefix - template wich uses to create prefix
IllegalStateException - If prefix already settedpublic void setSuffix(ProcTemplate suffix)
suffix - template wich uses to create prefix
IllegalStateException - If suffix already settedpublic void setParams(Map<String,Object> params)
params - parameterspublic void setConstants(Set<PatternConstant> constants)
public void setNestingLimit(int nestingLimit)
public void setPropagateNestingException(boolean propagateNestingException)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||