This class of objects is defined by jsbml only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.
This class serves to organize functionality for tracking XML namespaces in a document or data stream. The namespace declarations are stored as a list of pairs of XML namespace URIs and prefix strings. These correspond to the parts of a namespace declaration on an XML element. For example, in the following XML fragment,
<annotation> <mysim:nodecolors xmlns:mysim='urn:lsid:mysim.org' mysim:bgcolor='green' mysim:fgcolor='white'/> </annotation>
{@link XMLNamespaces} provides various methods for manipulating the list ofprefix-URI pairs. Individual namespaces stored in a given XMLNamespace object instance can be retrieved based on their index using {@link XMLNamespaces#getPrefix(int index)}, or by their characteristics such as their URI or position in the list. @since 0.8 @version $Rev: 1524 $
|
|
|
|
|
|