public class ProcScope extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
boolean |
isInitialized() |
boolean |
process(Context context)
Парсит тект с BB-кодами
|
void |
setIgnoreText(boolean ignoreText)
Set flag marked that not parsiable text mustn't append to result.
|
void |
setMax(int max) |
void |
setMin(int min) |
void |
setParent(ProcScope parent)
Set parent scope
|
void |
setScopeCodes(Set<ProcCode> codes)
Add codes to scope
|
void |
setStrong(boolean strong) |
String |
toString() |
public ProcScope(String name)
name - name of scopepublic boolean process(Context context) throws org.kefirsf.bb.proc.NestingException
context - the parsing contextNestingException - if nesting is too big.public void setParent(ProcScope parent)
parent - parent scope. All parent scope code added to scope codes.public void setScopeCodes(Set<ProcCode> codes)
codes - code setpublic void init()
public void setStrong(boolean strong)
public void setIgnoreText(boolean ignoreText)
ignoreText - flag valuepublic boolean isInitialized()
public void setMin(int min)
public void setMax(int max)
Copyright © 2016. All rights reserved.