The SideKickParser class
Prev | Chapter 5. Developing SideKick back-ends | Next

## The SideKickParser class

`SideKickParser` is an abstract class. The constructor takes one string parameter. This string is used in several properties:

- `sidekick.parser.`name`.label` - specifies a human-readable label for the parser, shown in status messages.

- `mode.`mode`.sidekick.parser` - properties of this form are used to associate a parser with an edit mode.

For example, the XML plugin, which provides two `SideKickParser` implementations, defines these properties:

    sidekick.parser.xml.label=XML
    mode.xml.sidekick.parser=xml
    mode.xsl.sidekick.parser=xml
    sidekick.parser.html.label=HTML
    mode.asp.sidekick.parser=html
    mode.coldfusion.sidekick.parser=html
    mode.html.sidekick.parser=html
    mode.jhtml.sidekick.parser=html
    mode.jsp.sidekick.parser=html
    mode.php.sidekick.parser=html
    mode.shtml.sidekick.parser=html
    mode.sgml.sidekick.parser=html
    mode.velocity.sidekick.parser=html

Prev | Up | Next
Preliminaries | Home | Implementing a structure tree