public class ProcText extends ProcNamedElement implements ProcPatternElement
| Constructor and Description |
|---|
ProcText(String name,
boolean transparent)
Создает именованный элемент
|
ProcText(String name,
ProcScope scope,
boolean transparent) |
| Modifier and Type | Method and Description |
|---|---|
int |
findIn(Source source)
Find this element
|
boolean |
isNextIn(Context context)
Определяет, что дальше в разбираемой строке находится нужная последовательность
|
boolean |
parse(Context context,
ProcPatternElement terminator)
Парсит элемент
|
String |
toString() |
getName, setAttributepublic ProcText(String name, boolean transparent)
name - имя переменнойtransparent - mark that scope variable must be accessible from parent contextpublic boolean parse(Context context, ProcPatternElement terminator) throws org.kefirsf.bb.proc.NestingException
parse in interface ProcPatternElementcontext - контекстterminator - terminator to stop text processNestingException - if nesting is too big.public boolean isNextIn(Context context)
isNextIn in interface ProcPatternElementcontext - current contextpublic int findIn(Source source)
findIn in interface ProcPatternElementsource - text sourceCopyright © 2016. All rights reserved.