|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kefirsf.bb.conf.Configuration
public class Configuration
Configuration of bbcode processor.
| Field Summary | |
|---|---|
static int |
DEFAULT_NESTING_LIMIT
Default nesting limit for processor. |
static boolean |
DEFAULT_PROPAGATE_NESTING_EXCEPTION
By default the processor don't throw an exception if nesting limit exceeded. |
| Constructor Summary | |
|---|---|
Configuration()
Create the configuration |
|
| Method Summary | |
|---|---|
int |
getNestingLimit()
Get nesting limit. |
Map<String,Object> |
getParams()
Get predefined parameters. |
Template |
getPrefix()
Get prefix. |
Scope |
getRootScope()
Get root scope |
Template |
getSuffix()
Get suffix. |
boolean |
isPropagateNestingException()
Get nesting exceeded behavior. |
void |
setNestingLimit(int nestingLimit)
Set nesting limit. |
void |
setParams(Map<String,Object> params)
Set parameters to configuration. |
void |
setPrefix(Template prefix)
Set prefix template. |
void |
setPropagateNestingException(boolean propagateNestingException)
Define nesting exceeded behavior. |
void |
setRootScope(Scope rootScope)
Set root scope for configuration. |
void |
setSuffix(Template suffix)
Set suffix template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_NESTING_LIMIT
public static final boolean DEFAULT_PROPAGATE_NESTING_EXCEPTION
| Constructor Detail |
|---|
public Configuration()
| Method Detail |
|---|
public Scope getRootScope()
public void setRootScope(Scope rootScope)
rootScope - scopepublic Template getPrefix()
public void setPrefix(Template prefix)
prefix - template for prefixpublic Template getSuffix()
public void setSuffix(Template suffix)
suffix - template for suffixpublic Map<String,Object> getParams()
public void setParams(Map<String,Object> params)
params - the map with parameters. Key is a parameter name.public int getNestingLimit()
public void setNestingLimit(int nestingLimit)
nestingLimit - nesting limitpublic boolean isPropagateNestingException()
public void setPropagateNestingException(boolean propagateNestingException)
propagateNestingException - throw or not exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||