Package loci.formats.services

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

Related Classes of loci.formats.services.OMEXMLService

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.