Package org.sbml.jsbml

Examples of org.sbml.jsbml.SBMLDocument.addDeclaredNamespace()


   */
  public static void main(String[] args) throws SBMLException, XMLStreamException
  {

    SBMLDocument sbmlDoc = new SBMLDocument(3, 1);
    sbmlDoc.addDeclaredNamespace("xmlns:html", "http://www.w3.org/1999/xhtml");
    sbmlDoc.addNamespace("ns1", "xmlns", "http://www.test.com");
    Model sbmlModel = sbmlDoc.createModel("test_model");
    sbmlModel.addDeclaredNamespace("html", "http://www.w3.org/1999/xhtml");
    sbmlModel.addDeclaredNamespace("ns1", "http://www.test.com");
    // sbmlModel.addDeclaredNamespace("toto:ns2", "http://www.test.com");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.