Package org.fao.geonet.guiservices.schemas

Examples of org.fao.geonet.guiservices.schemas.GetSchemaInfo.exec()


      // Call GetSchemaInfo to place schema titles and codelists into
      // xpath /root/gui/schemas/{} for xsl transformation to use
      org.jdom.Element root = new org.jdom.Element(Jeeves.Elem.ROOT);
      org.jdom.Element gui = new org.jdom.Element(Jeeves.Elem.GUI);
      GetSchemaInfo gsi = new GetSchemaInfo();
      gui.addContent(gsi.exec(new org.jdom.Element(Jeeves.Elem.REQUEST), cnt.getSrvctx()));
      root.addContent(gui);

      org.jdom.Element metadata = new org.jdom.Element(Geonet.Elem.METADATA);
      metadata.addContent(jdomDoc.detachRootElement());
      root.addContent(metadata);
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.