<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.biouml.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.biouml.org/index.php?action=history&amp;feed=atom&amp;title=Annotation_%28extension_point%29</id>
		<title>Annotation (extension point) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.biouml.org/index.php?action=history&amp;feed=atom&amp;title=Annotation_%28extension_point%29"/>
		<link rel="alternate" type="text/html" href="https://wiki.biouml.org/index.php?title=Annotation_(extension_point)&amp;action=history"/>
		<updated>2026-04-24T10:48:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>https://wiki.biouml.org/index.php?title=Annotation_(extension_point)&amp;diff=2975&amp;oldid=prev</id>
		<title>Lan@dote.ru: From Help&amp;Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.biouml.org/index.php?title=Annotation_(extension_point)&amp;diff=2975&amp;oldid=prev"/>
				<updated>2013-05-14T03:57:16Z</updated>
		
		<summary type="html">&lt;p&gt;From Help&amp;amp;Manual&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Extension point|annotation|biouml.plugins.sbml|registry=biouml.plugins.sbml.extensions.SbmlAnnotationRegistry}}&lt;br /&gt;
=== Description ===&lt;br /&gt;
SBML file may contains different information using annotation block. This extension point allows to register new class implementing {{Class|biouml.plugins.sbml.extensions.SbmlExtension}} interface which will be called when SBML file reading and writing. One SbmlExtension class should transform one structure to XML format. In our example, {{Class|biouml.plugins.sbml.extensions.StateExtension}} allows to save diagram states to SBML.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Markup ===&lt;br /&gt;
 &amp;lt;!ELEMENT annotation&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST annotation&lt;br /&gt;
   namespace        CDATA #REQUIRED&lt;br /&gt;
   priority         CDATA&lt;br /&gt;
   extension_class  CDATA #REQUIRED&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
&lt;br /&gt;
;namespace&lt;br /&gt;
:the name of XML element.&lt;br /&gt;
;priority&lt;br /&gt;
:priority level for this extension (by default, 100).&lt;br /&gt;
;extension_class&lt;br /&gt;
:the fully-qualified name of extension class.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
This is example of state extension for SBML format&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;extension id=&amp;quot;StateAnnotationExtension&amp;quot; point=&amp;quot;biouml.plugins.sbml.annotation&amp;quot;&amp;gt; &lt;br /&gt;
   &amp;lt;annotation&lt;br /&gt;
      namespace=&amp;quot;state&amp;quot; &lt;br /&gt;
      priority=&amp;quot;3&amp;quot;&lt;br /&gt;
      extension_class=&amp;quot;biouml.plugins.sbml.extensions.StateExtension&amp;quot;&lt;br /&gt;
   /&amp;gt; &lt;br /&gt;
 &amp;lt;/extension&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== API Information ===&lt;br /&gt;
The value of the extension_class attribute must represent an implementor of {{Class|biouml.plugins.sbml.extensions.SbmlExtension}} interface. It might be more convenient to extend {{Class|biouml.plugins.sbml.extensions.SbmlExtensionSupport}} class.&lt;/div&gt;</summary>
		<author><name>Lan@dote.ru</name></author>	</entry>

	</feed>