Package org.molgenis.model.elements

Examples of org.molgenis.model.elements.Method


      logger.error(message);
      throw new MolgenisModelException(message);
    }

    // construct
    Method method = new Method(element.getAttribute("name"), model.getMethodSchema());

    NodeList nodes = element.getChildNodes();
    for (int nodeid = 0; nodeid < nodes.getLength(); ++nodeid)
    {
      Node node = nodes.item(nodeid);
      if (node.getNodeType() != Node.ELEMENT_NODE)
      {
        continue;
      }

      if (((Element) node).getTagName().equals("description"))
      {
        method.setDescription(((Element) node).getTextContent().trim());
      }
      else if (((Element) node).getTagName().equals("parameter"))
      {
        parseParameter(method, (Element) node);
      }
View Full Code Here

TOP

Related Classes of org.molgenis.model.elements.Method

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.