Creates a new instance of the BBCode data processor class.
Adds a new rule to the data processing.
rule to add
Adds new rules to the data processing.
rules to add
Registers a MatcherPattern for view elements whose content should be
treated as raw data and not processed during the conversion from generated
HTML to view elements.
The raw data can be later accessed by a custom property of a view element
called "$rawContent".
The pattern matching all view elements whose content should be treated as raw data.
Converts the provided DocumentFragment to data format — in this
case to a BBCode string.
The viewFragment.
BBCode string.
Converts the provided BBCode string to a data view tree.
The BBCode string.
The converted view element.
This method does not have any effect on the data processor result. It
exists for compatibility with the DataProcessor interface.
Data processor for BBCode.
This data processor converts BBCode to HTML and uses the HtmlDataProcessor to generate the resulting view tree.