Class BBCodeParser

java.lang.Object
atlantafx.base.util.BBCodeParser

public class BBCodeParser extends Object
A simple push parser for the BBCode markup. As the content is parsed, methods of BBCodeHandler are called.

The parser doesn't impose restrictions on tag names or tag params. It's a handler implementation responsibility to differentiate supported tags from unsupported and so to for the tag params. This allows user to utilize arbitrary tags or params without changing the parser behaviour. The parser, however, verifies that each opening tag has the matching closing tag.

If parsing is failed due to invalid input an IllegalStateException will be thrown.