Examples of OMEXMLService


Examples of loci.formats.services.OMEXMLService

   * @throws ParserConfigurationException
   * @throws DependencyException
   * @throws ServiceException
   */
  public void setXMLDocument(String omexml) throws ParserConfigurationException, SAXException, IOException, DependencyException, ServiceException {
    OMEXMLService svc = new ServiceFactory().getInstance(OMEXMLService.class);
    OMEModelObject root = svc.createOMEXMLRoot(omexml);
    if (! (root instanceof OME))
      throw new ServiceException("Root of XML document wasn't OME");
    this.omexml = (OME)root;
  }
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.