public static interface ShortcodeParser.Handler
| Modifier and Type | Method and Description |
|---|---|
void |
parseError(java.lang.String text,
java.text.ParseException pe)
A shortcode parse error.
|
void |
shortcode(Shortcode shortcode)
Parsed a shortcode.
|
void |
text(java.lang.String text)
A block of text between shortcodes.
|
Shortcode.Type |
type(java.lang.String shortcode)
Identify the shortcode type.
|
void shortcode(Shortcode shortcode)
shortcode - The shortcode.void text(java.lang.String text)
text - The text.void parseError(java.lang.String text,
java.text.ParseException pe)
text - The text that could not be parsed as a shortcode.pe - A parse exception, or null if none.Shortcode.Type type(java.lang.String shortcode)
shortcode - The shortcode name.UNKNOWN if invalid/unknown code.