|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kefirsf.bb.proc.ProcScope
public class ProcScope
bb-code scope. Required for tables, for example. Scope contains code set for parsing text.
| Constructor Summary | |
|---|---|
ProcScope(String name)
Create scope |
|
| Method Summary | |
|---|---|
String |
getName()
Get scope name |
void |
init()
|
boolean |
isInitialized()
|
void |
process(Context context)
Парсит тект с BB-кодами |
void |
setIgnoreText(boolean ignoreText)
Set flag marked that not parsiable text mustn't append to result. |
void |
setParent(ProcScope parent)
Set parent scope |
void |
setScopeCodes(Set<ProcCode> codes)
Add codes to scope |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcScope(String name)
name - name of scope| Method Detail |
|---|
public void process(Context context)
throws IOException,
org.kefirsf.bb.proc.NestingException
IOException - if can't append chars to target
NestingException - if nesting is too big.public String getName()
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 setIgnoreText(boolean ignoreText)
ignoreText - flag valuepublic boolean isInitialized()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||