Sample Parsers

Identifier: com.example.xyz.parsers

Since: 2.1

Description: This extension point is used to plug in additional parsers. The parsers actually do not work - we have just used them as an example of extension point schema.

Configuration Markup:

   <!ELEMENT extension (parser*)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT parser EMPTY>

   <!ATTLIST parser
     id    CDATA #REQUIRED
     name  CDATA #REQUIRED
     class CDATA #REQUIRED
     mode  (never|always|manual) "always"
   >

Examples: The following is an example of the extension point usage:
   <extension point="com.example.xyz.parsers">
      <parser
         id="com.example.xyz.parser1"
         name="Sample Parser 1"
         class="com.example.xyz.SampleParser1">
      </parser>
   </extension>

API Information: Plug-ins that want to extend this extension point must implement com.example.xyz.IParser interface.

Supplied Implementation: XYZ Plug-in provides default implementation of the parser.

Copyright XYZ 2003. All rights reserved.