|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kefirsf.bb.proc.ProcNamedElement
org.kefirsf.bb.proc.ProcText
public class ProcText
Класс текста, который подлежит парсингу
| Constructor Summary | |
|---|---|
ProcText(String name,
boolean transparent)
Создает именованный элемент |
|
ProcText(String name,
ProcScope scope,
boolean transparent)
|
|
| Method Summary | |
|---|---|
int |
findIn(Source source)
Find this element |
boolean |
isNextIn(Source source)
Определяет, что дальше в разбираемой строке находится нужная последовательность |
boolean |
parse(Context context,
ProcPatternElement terminator)
Парсит элемент |
String |
toString()
|
| Methods inherited from class org.kefirsf.bb.proc.ProcNamedElement |
|---|
getName, setAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcText(String name,
boolean transparent)
name - имя переменнойtransparent - mark that scope variable must be accessible from parent context
public ProcText(String name,
ProcScope scope,
boolean transparent)
| Method Detail |
|---|
public boolean parse(Context context,
ProcPatternElement terminator)
throws org.kefirsf.bb.proc.NestingException
parse in interface ProcPatternElementcontext - контекстterminator - teminator to stop text process
NestingException - if nesting is too big.public boolean isNextIn(Source source)
isNextIn in interface ProcPatternElementsource - source text
public int findIn(Source source)
findIn in interface ProcPatternElementsource - text source
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||