Package org.sbml.jsbml.ext.req

Examples of org.sbml.jsbml.ext.req.ReqSBasePlugin


    // If not other elements recognized the new element to read, it might be
    // one of the extended SBase children
    if (contextObject instanceof SBase)
    {
      SBase sbase = (SBase) contextObject;
      ReqSBasePlugin reqSBase = null;

      if (sbase.getExtension(getNamespaceURI()) != null) {
        reqSBase = (ReqSBasePlugin) sbase.getExtension(getNamespaceURI());
      } else {
        reqSBase = new ReqSBasePlugin(sbase);
        sbase.addExtension(getNamespaceURI(), reqSBase);
      }

      if (elementName.equals(ReqConstants.listOfChangedMaths))
      {
        return reqSBase.getListOfChangedMaths();
      }
    }


    return contextObject;
View Full Code Here


  @Override
  public SBasePlugin createPluginFor(SBase sbase) {

    if (sbase != null) {
        return new ReqSBasePlugin(sbase);
    }

    return null;
  }
View Full Code Here

TOP

Related Classes of org.sbml.jsbml.ext.req.ReqSBasePlugin

Copyright © 2018 www.massapicom. 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.