- calcEnd(Source, ProcPatternElement) - Method in class org.kefirsf.bb.proc.AbstractUrl
-
- calcLength(Source, int) - Method in class org.kefirsf.bb.proc.AbstractEol
-
- charAt(int) - Method in class org.kefirsf.bb.proc.Source
-
Return a character by index
- charAt(int) - Method in class org.kefirsf.bb.util.ArrayCharSequence
-
- Check - Class in org.kefirsf.bb.proc
-
Check if the variable is equals with context value
- Check(String, boolean) - Constructor for class org.kefirsf.bb.proc.Check
-
- checkBadTag(int) - Method in class org.kefirsf.bb.proc.Context
-
Check the bag tag
- checkNesting() - Method in class org.kefirsf.bb.proc.Context
-
Check nesting.
- Code - Class in org.kefirsf.bb.conf
-
Code description.
- Code() - Constructor for class org.kefirsf.bb.conf.Code
-
Construct code definition with random name and default priority.
- Code(String) - Constructor for class org.kefirsf.bb.conf.Code
-
Construct code definition with name and default priority.
- Code(Pattern, Template, String, int) - Constructor for class org.kefirsf.bb.conf.Code
-
Create code definition.
- compareTo(ProcCode) - Method in class org.kefirsf.bb.proc.ProcCode
-
Compare by priorities
- Configuration - Class in org.kefirsf.bb.conf
-
Configuration of bbcode processor.
- Configuration() - Constructor for class org.kefirsf.bb.conf.Configuration
-
Create the configuration
- ConfigurationFactory - Class in org.kefirsf.bb
-
Create the text processor configuration
- Constant - Class in org.kefirsf.bb.conf
-
Define constants.
- Constant() - Constructor for class org.kefirsf.bb.conf.Constant
-
Default constructor.
- Constant(String) - Constructor for class org.kefirsf.bb.conf.Constant
-
Create constant with value.
- Constant(String, boolean) - Constructor for class org.kefirsf.bb.conf.Constant
-
Create constant.
- Constant(String, boolean, boolean) - Constructor for class org.kefirsf.bb.conf.Constant
-
Create constant.
- contains(int) - Method in class org.kefirsf.bb.util.IntSet
-
- containsCheck() - Method in class org.kefirsf.bb.proc.ProcCode
-
- Context - Class in org.kefirsf.bb.proc
-
The bb-processing context
- Context() - Constructor for class org.kefirsf.bb.proc.Context
-
Default constructor
- Context(Context) - Constructor for class org.kefirsf.bb.proc.Context
-
Constructor of child-context
- create() - Method in class org.kefirsf.bb.BBProcessorFactory
-
Create the default bb-code processor.
- create(Configuration) - Method in class org.kefirsf.bb.BBProcessorFactory
-
Create TextProcessor by programmatic configuration.
- create(InputStream) - Method in class org.kefirsf.bb.BBProcessorFactory
-
Create the bb-processor from XML InputStream
- create(File) - Method in class org.kefirsf.bb.BBProcessorFactory
-
Create the bb-code processor from file with XML-configuration.
- create(String) - Method in class org.kefirsf.bb.BBProcessorFactory
-
Create the bb-code processor from file with XML-configuration.
- create() - Method in class org.kefirsf.bb.ConfigurationFactory
-
Create the default bb-code processor.
- create(String) - Method in class org.kefirsf.bb.ConfigurationFactory
-
Create the bb-code processor from file with XML-configuration.
- create(File) - Method in class org.kefirsf.bb.ConfigurationFactory
-
Create the bb-code processor from file with XML-configuration.
- create(InputStream) - Method in class org.kefirsf.bb.ConfigurationFactory
-
Create the bb-processor from XML InputStream
- create(Document) - Method in class org.kefirsf.bb.DomConfigurationFactory
-
Create the bb-code processor from DOM Document
- create() - Method in class org.kefirsf.bb.EscapeXmlProcessorFactory
-
Create the new XML escape symbols processor.
- create() - Method in interface org.kefirsf.bb.TextProcessorFactory
-
Create the TextProcessor instance
- createFromResource(String) - Method in class org.kefirsf.bb.BBProcessorFactory
-
Create the bb-processor using xml-configuration resource
- createFromResource(String) - Method in class org.kefirsf.bb.ConfigurationFactory
-
Create the bb-processor using xml-configuration resource
- generate(Context) - Method in class org.kefirsf.bb.proc.IfExpression
-
- generate(Context) - Method in class org.kefirsf.bb.proc.ProcNamedValue
-
Добавляет элемент в новую строку
- generate(Context) - Method in class org.kefirsf.bb.proc.ProcTemplate
-
Append to result string processed text.
- generate(Context) - Method in interface org.kefirsf.bb.proc.ProcTemplateElement
-
Append template element to source of context
- generate(Context) - Method in class org.kefirsf.bb.proc.TemplateConstant
-
- generateRandomName() - Static method in class org.kefirsf.bb.util.Utils
-
- getAction() - Method in class org.kefirsf.bb.conf.Variable
-
Get the action of the variable.
- getAttribute(String) - Method in class org.kefirsf.bb.proc.Context
-
Get the context attribute.
- getAttributes() - Method in class org.kefirsf.bb.proc.Context
-
- getCharArray() - Method in class org.kefirsf.bb.proc.PatternConstant
-
- getCodes() - Method in class org.kefirsf.bb.conf.Scope
-
Get codes of scope.
- getFunction() - Method in class org.kefirsf.bb.conf.NamedValue
-
This element can use different functions.
- getInstance() - Static method in class org.kefirsf.bb.BBProcessorFactory
-
Return instance of BBProcessorFactory
- getInstance() - Static method in class org.kefirsf.bb.ConfigurationFactory
-
Return instance of class ConfigurationFactory
- getInstance() - Static method in class org.kefirsf.bb.DomConfigurationFactory
-
- getInstance() - Static method in class org.kefirsf.bb.EscapeXmlProcessorFactory
-
Return instance of this class.
- getLocalAttribute(String) - Method in class org.kefirsf.bb.proc.Context
-
Return attribute from this context, not parent
- getMax() - Method in class org.kefirsf.bb.conf.Scope
-
Get the maximum count of codes which can be parsed in this scope.
- getMin() - Method in class org.kefirsf.bb.conf.Scope
-
Get the minimum count of parsed codes.
- getName() - Method in class org.kefirsf.bb.conf.Code
-
Get a code name.
- getName() - Method in class org.kefirsf.bb.conf.If
-
- getName() - Method in class org.kefirsf.bb.conf.Scope
-
Get scope name.
- getName() - Method in class org.kefirsf.bb.proc.ProcNamedElement
-
Get element name
- getNestingLimit() - Method in class org.kefirsf.bb.conf.Configuration
-
Get nesting limit.
- getOffset() - Method in class org.kefirsf.bb.proc.Source
-
Return current offset.
- getParams() - Method in class org.kefirsf.bb.conf.Configuration
-
Get predefined parameters.
- getParent() - Method in class org.kefirsf.bb.conf.Scope
-
Get parent scope.
- getPattern() - Method in class org.kefirsf.bb.conf.Code
-
Deprecated.
- getPatterns() - Method in class org.kefirsf.bb.conf.Code
-
A code contains collection of patterns for parsing.
- getPrefix() - Method in class org.kefirsf.bb.conf.Configuration
-
Get prefix.
- getPriority() - Method in class org.kefirsf.bb.conf.Code
-
Get the code priority.
- getRegex() - Method in class org.kefirsf.bb.conf.Variable
-
Get regular expression for validate variable.
- getRootScope() - Method in class org.kefirsf.bb.conf.Configuration
-
Get root scope
- getScope() - Method in class org.kefirsf.bb.conf.Text
-
Code scope for parse text.
- getScope() - Method in class org.kefirsf.bb.proc.Context
-
- getSource() - Method in class org.kefirsf.bb.proc.Context
-
- getSuffix() - Method in class org.kefirsf.bb.conf.Configuration
-
Get suffix.
- getTarget() - Method in class org.kefirsf.bb.proc.Context
-
- getTemplate() - Method in class org.kefirsf.bb.conf.Code
-
Get template for text generation.
- getTerminator() - Method in class org.kefirsf.bb.proc.Context
-
get Text terminator,this mark stop text processing
- getValue() - Method in class org.kefirsf.bb.conf.Constant
-
- getValue() - Method in class org.kefirsf.bb.proc.PatternConstant
-
- ghost - Variable in class org.kefirsf.bb.proc.AbstractEol
-
- ghost - Variable in class org.kefirsf.bb.proc.AbstractUrl
-
Don't move the cursor offset.
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.AbstractEol
-
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.AbstractUrl
-
Parse element
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.Check
-
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.PatternConstant
-
Parse constant
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.PatternJunk
-
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.ProcBol
-
- parse(Context) - Method in class org.kefirsf.bb.proc.ProcPattern
-
Parse context with this pattern
- parse(Context, ProcPatternElement) - Method in interface org.kefirsf.bb.proc.ProcPatternElement
-
Parse element
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.ProcText
-
Парсит элемент
- parse(Context, ProcPatternElement) - Method in class org.kefirsf.bb.proc.ProcVariable
-
Парсит элемент
- parseRegex(Source, int, int, Pattern) - Method in class org.kefirsf.bb.proc.AbstractUrl
-
- Pattern - Class in org.kefirsf.bb.conf
-
Pattern definition.
- Pattern() - Constructor for class org.kefirsf.bb.conf.Pattern
-
Create pattern definition with empty pattern elements list.
- Pattern(List<? extends PatternElement>) - Constructor for class org.kefirsf.bb.conf.Pattern
-
Create pattern definition with pattern elements list.
- PatternConstant - Class in org.kefirsf.bb.proc
-
Constant element of pattern or template
- PatternConstant(String, boolean) - Constructor for class org.kefirsf.bb.proc.PatternConstant
-
Create constant element.
- PatternConstant(String, boolean, boolean) - Constructor for class org.kefirsf.bb.proc.PatternConstant
-
Create constant element.
- PatternElement - Interface in org.kefirsf.bb.conf
-
Base interface for pattern elements.
- PatternJunk - Class in org.kefirsf.bb.proc
-
- PatternJunk() - Constructor for class org.kefirsf.bb.proc.PatternJunk
-
- ProcBlankLine - Class in org.kefirsf.bb.proc
-
A blank line
- ProcBlankLine(boolean) - Constructor for class org.kefirsf.bb.proc.ProcBlankLine
-
- ProcBol - Class in org.kefirsf.bb.proc
-
Beginning of line
- ProcBol() - Constructor for class org.kefirsf.bb.proc.ProcBol
-
- ProcCode - Class in org.kefirsf.bb.proc
-
The bbcode class
- ProcCode(List<ProcPattern>, ProcTemplate, String, int, boolean) - Constructor for class org.kefirsf.bb.proc.ProcCode
-
Create the bb-code with priority
- ProcEmail - Class in org.kefirsf.bb.proc
-
The pattern element to parse EMAILs.
- ProcEmail(String, boolean) - Constructor for class org.kefirsf.bb.proc.ProcEmail
-
Create a named URL variable
- ProcEol - Class in org.kefirsf.bb.proc
-
End of line
- ProcEol(boolean) - Constructor for class org.kefirsf.bb.proc.ProcEol
-
- process(CharSequence) - Method in class org.kefirsf.bb.EscapeProcessor
-
Process the text
- process(CharSequence) - Method in class org.kefirsf.bb.proc.BBProcessor
-
Process bbcodes
1.
- process(Context) - Method in class org.kefirsf.bb.proc.ProcCode
-
Parse bb-code
Before invocation suspicious method must be call
- process(Context) - Method in class org.kefirsf.bb.proc.ProcScope
-
Парсит тект с BB-кодами
- process(CharSequence) - Method in interface org.kefirsf.bb.TextProcessor
-
Process the text.
- process(String) - Method in interface org.kefirsf.bb.TextProcessor
-
Process the text
- process(StringBuilder) - Method in interface org.kefirsf.bb.TextProcessor
-
Process the text
- process(StringBuffer) - Method in interface org.kefirsf.bb.TextProcessor
-
Process the text
- process(String) - Method in class org.kefirsf.bb.TextProcessorAdapter
-
Process the text
- process(StringBuilder) - Method in class org.kefirsf.bb.TextProcessorAdapter
-
Process the text
- process(StringBuffer) - Method in class org.kefirsf.bb.TextProcessorAdapter
-
Process the text
- process(CharSequence) - Method in class org.kefirsf.bb.TextProcessorChain
-
Process the text
- ProcNamedElement - Class in org.kefirsf.bb.proc
-
Named element are variable and text ProcPatternElement or ProcTemplateElement
- ProcNamedElement(String) - Constructor for class org.kefirsf.bb.proc.ProcNamedElement
-
Create named element
- ProcNamedValue - Class in org.kefirsf.bb.proc
-
Named value to build target text
- ProcNamedValue(String, Function) - Constructor for class org.kefirsf.bb.proc.ProcNamedValue
-
- ProcPattern - Class in org.kefirsf.bb.proc
-
Represents the pattern
- ProcPattern(List<? extends ProcPatternElement>) - Constructor for class org.kefirsf.bb.proc.ProcPattern
-
Construct pattern.
- ProcPatternElement - Interface in org.kefirsf.bb.proc
-
Pattern element for parse part of bbcode
- ProcScope - Class in org.kefirsf.bb.proc
-
bb-code scope.
- ProcScope(String) - Constructor for class org.kefirsf.bb.proc.ProcScope
-
Create scope
- ProcTemplate - Class in org.kefirsf.bb.proc
-
Code template
- ProcTemplate(List<? extends ProcTemplateElement>) - Constructor for class org.kefirsf.bb.proc.ProcTemplate
-
Create neq template with elements.
- ProcTemplateElement - Interface in org.kefirsf.bb.proc
-
The element of template to build target text
- ProcText - Class in org.kefirsf.bb.proc
-
Класс текста, который подлежит парсингу
- ProcText(String, boolean) - Constructor for class org.kefirsf.bb.proc.ProcText
-
Создает именованный элемент
- ProcText(String, ProcScope, boolean) - Constructor for class org.kefirsf.bb.proc.ProcText
-
- ProcUrl - Class in org.kefirsf.bb.proc
-
The pattern element to parse URLs.
- ProcUrl(String, boolean, boolean, boolean) - Constructor for class org.kefirsf.bb.proc.ProcUrl
-
Create a named URL variable
- ProcVariable - Class in org.kefirsf.bb.proc
-
Класс переменной
- ProcVariable(String, Pattern, boolean, Action) - Constructor for class org.kefirsf.bb.proc.ProcVariable
-
Create named variable
- SAFE_HTML_CONFIGURATION_FILE - Static variable in class org.kefirsf.bb.ConfigurationFactory
-
- Scope - Class in org.kefirsf.bb.conf
-
Scope definition.
- Scope() - Constructor for class org.kefirsf.bb.conf.Scope
-
Create a scope with random name.
- Scope(String) - Constructor for class org.kefirsf.bb.conf.Scope
-
Create a scope with a name.
- Scope(String, boolean) - Constructor for class org.kefirsf.bb.conf.Scope
-
Create a scope.
- Scope(String, Scope, boolean) - Constructor for class org.kefirsf.bb.conf.Scope
-
Create a scope.
- setAction(Action) - Method in class org.kefirsf.bb.conf.Variable
-
Set the action of the variable.
- setAttribute(String, CharSequence) - Method in class org.kefirsf.bb.proc.Context
-
Add or set context attribute
- setAttribute(Context, CharSequence) - Method in class org.kefirsf.bb.proc.ProcNamedElement
-
Add attribute with name of this element name and value value to context.
- setCodes(Set<Code>) - Method in class org.kefirsf.bb.conf.Scope
-
Set codes.
- setConstants(Set<PatternConstant>) - Method in class org.kefirsf.bb.proc.BBProcessor
-
- setConstantSet(Set<PatternConstant>) - Method in class org.kefirsf.bb.proc.Source
-
Set constant set from configuration.
- setFunction(Function) - Method in class org.kefirsf.bb.conf.NamedValue
-
This element can use different functions.
- setIgnoreCase(boolean) - Method in class org.kefirsf.bb.conf.Constant
-
Set ignore case behavior.
- setIgnoreText(boolean) - Method in class org.kefirsf.bb.conf.Scope
-
How to use text outer codes.
- setIgnoreText(boolean) - Method in class org.kefirsf.bb.proc.ProcScope
-
Set flag marked that not parsiable text mustn't append to result.
- setLocal(boolean) - Method in class org.kefirsf.bb.conf.Url
-
Set support local URLs.
- setMax(int) - Method in class org.kefirsf.bb.conf.Scope
-
Set the maximum count of codes which can be parsed in this scope.
- setMax(int) - Method in class org.kefirsf.bb.proc.ProcScope
-
- setMin(int) - Method in class org.kefirsf.bb.conf.Scope
-
Set the minimum count of parsed codes.
- setMin(int) - Method in class org.kefirsf.bb.proc.ProcScope
-
- setName(String) - Method in class org.kefirsf.bb.conf.Code
-
Set a code name.
- setName(String) - Method in class org.kefirsf.bb.conf.If
-
- setName(String) - Method in class org.kefirsf.bb.conf.Scope
-
Set scope name
- setNestingLimit(int) - Method in class org.kefirsf.bb.conf.Configuration
-
Set nesting limit.
- setNestingLimit(int) - Method in class org.kefirsf.bb.proc.BBProcessor
-
- setNestingLimit(int) - Method in class org.kefirsf.bb.proc.Context
-
Set nesting limit for this context.
- setOffset(int) - Method in class org.kefirsf.bb.proc.Source
-
Set offset.
- setParams(Map<String, CharSequence>) - Method in class org.kefirsf.bb.conf.Configuration
-
Set parameters to configuration.
- setParams(Map<String, CharSequence>) - Method in class org.kefirsf.bb.proc.BBProcessor
-
Set text processor parameters map.
- setParent(Scope) - Method in class org.kefirsf.bb.conf.Scope
-
Set parent scope.
- setParent(ProcScope) - Method in class org.kefirsf.bb.proc.ProcScope
-
Set parent scope
- setPattern(Pattern) - Method in class org.kefirsf.bb.conf.Code
-
Deprecated.
- setPatterns(List<Pattern>) - Method in class org.kefirsf.bb.conf.Code
-
Set the patterns list.
- setPrefix(Template) - Method in class org.kefirsf.bb.conf.Configuration
-
Set prefix template.
- setPrefix(ProcTemplate) - Method in class org.kefirsf.bb.proc.BBProcessor
-
Set the prefix for text processor
- setPriority(int) - Method in class org.kefirsf.bb.conf.Code
-
Set the code priority.
- setPropagateNestingException(boolean) - Method in class org.kefirsf.bb.conf.Configuration
-
Define nesting exceeded behavior.
- setPropagateNestingException(boolean) - Method in class org.kefirsf.bb.proc.BBProcessor
-
- setRegex(Pattern) - Method in class org.kefirsf.bb.conf.Variable
-
Set a regex pattern for validate variable.
- setRootScope(Scope) - Method in class org.kefirsf.bb.conf.Configuration
-
Set root scope for configuration.
- setSchemaless(boolean) - Method in class org.kefirsf.bb.conf.Url
-
Set this is URL with schema or not?
- setScope(Scope) - Method in class org.kefirsf.bb.conf.Text
-
Set scope for parse text.
- setScope(ProcScope) - Method in class org.kefirsf.bb.proc.BBProcessor
-
Set the root scope of text processor.
- setScope(ProcScope) - Method in class org.kefirsf.bb.proc.Context
-
Set list of codes in current context
- setScopeCodes(Set<ProcCode>) - Method in class org.kefirsf.bb.proc.ProcScope
-
Add codes to scope
- setSource(Source) - Method in class org.kefirsf.bb.proc.Context
-
- setStrong(boolean) - Method in class org.kefirsf.bb.conf.Scope
-
If the scope is strong then only the codes from the scope can be parsed by it.
- setStrong(boolean) - Method in class org.kefirsf.bb.proc.ProcScope
-
- setSuffix(Template) - Method in class org.kefirsf.bb.conf.Configuration
-
Set suffix template.
- setSuffix(ProcTemplate) - Method in class org.kefirsf.bb.proc.BBProcessor
-
Set the suffix for text processor
- setTarget(Appendable) - Method in class org.kefirsf.bb.proc.Context
-
- setTemplate(Template) - Method in class org.kefirsf.bb.conf.Code
-
Set template for text generation
- setTerminator(ProcPatternElement) - Method in class org.kefirsf.bb.proc.Context
-
- setTransparent(boolean) - Method in class org.kefirsf.bb.conf.Code
-
If the code is transparent, then all variables which were set on the code processing
will be accessible from other codes from on the same context, the same indentation level.
- setTransparent(boolean) - Method in class org.kefirsf.bb.conf.Text
-
- setValue(String) - Method in class org.kefirsf.bb.conf.Constant
-
- Source - Class in org.kefirsf.bb.proc
-
Класс источник для парсинга BB-кодов
- Source(CharSequence) - Constructor for class org.kefirsf.bb.proc.Source
-
Create source class.
- startsWithConstant() - Method in class org.kefirsf.bb.proc.ProcCode
-
- startsWithConstant() - Method in class org.kefirsf.bb.proc.ProcPattern
-
- sub(int) - Method in class org.kefirsf.bb.proc.Source
-
Получает строку от текущего смещения до значения end
- subSequence(int, int) - Method in class org.kefirsf.bb.proc.Source
-
- subSequence(int, int) - Method in class org.kefirsf.bb.util.ArrayCharSequence
-
- subToEnd() - Method in class org.kefirsf.bb.proc.Source
-
Get String from offset to end.
- suspicious(Context) - Method in class org.kefirsf.bb.proc.ProcCode
-
Check if next sequence can be parsed with this code.
- suspicious(Context) - Method in class org.kefirsf.bb.proc.ProcPattern
-
Указывает на то что следующая последовательность вполне может оказаться данным тэгом