Pattern MetaInfo Sources

Identifier

com.togethersoft.selena.patterns.metainfo

Description

This extension point allows to plug metainfo that can be used for pattern generation. Metainfo could be stored in different formats, and it is responsibility of the source plugged to this extension point to handle these issues.

Markup

   <!ELEMENT extension (source+)>
   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT source EMPTY>
   <!ATTLIST source
     class CDATA #REQUIRED
   >

Example

[Enter extension point usage example here.]

API Information

Matainfo source must implement interface com.togethersoft.selena.patterns.metainfo.MetaInfoSource

Supplied Implementation

There is proprietary XML format for storing metainfo, implementation is com.togethersoft.selena.patterns.internal.metainfo.SimpleXMLMetaSource. It requires "sourcePath" attribute pointing to xml file containig metainfo and "id" attribute that will identify this source.Copyright 2002 TogetherSoft