Examples of load()


Examples of com.esri.gpt.catalog.discovery.PropertyMeanings.load()

  public PropertyMeanings loadPropertyMeanings()
    throws ParserConfigurationException, SAXException, IOException {
    Document dom = DomUtil.makeDomFromResourcePath("gpt/metadata/property-meanings.xml",false);   
    PropertyMeanings meanings = new PropertyMeanings();
    try {
      meanings.load(dom);
    } catch (XPathExpressionException e) {
      throw new IOException(
          "An XPath expression failed while loading property-meanings.xml: "+e.getMessage());
    }
    return meanings;
View Full Code Here

Examples of com.esri.gpt.server.assertion.index.Assertion.load()

      // process the documents, generate the response
      AsnAssertionRenderer renderer = new AsnAssertionRenderer();
      for (int i=startRecord; i<numDocs; i++) {
        Document document = reader.document(scoreDocs[i].doc);
        Assertion assertion = asnSet.newAssertion(context,false);
        assertion.load(document);
        rootProp.getChildren().add(renderer.makeProperty(context,assertion));
      }
      context.getOperationResponse().generateResponse(context,rootProp.getChildren());
     
    } finally {
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load()

      }
      else if( propFile.toLowerCase().startsWith( "http://" ) || propFile.toLowerCase().startsWith( "https://" ) )
      {
        UrlWsdlLoader loader = new UrlWsdlLoader( propFile, getModelItem() );
        loader.setUseWorker( false );
        input = loader.load();
      }

      if( input != null )
      {
        if( overrideProperties == null )
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.load()

  public boolean updateDefinition( String url, boolean createRequests ) throws Exception
  {
    WsdlContext.uncache( url );

    WsdlContext newContext = new WsdlContext( url, ( WsdlInterface )null );
    if( !newContext.load() )
    {
      return false;
    }

    BindingTuple tuple = findBinding( newContext );
View Full Code Here

Examples of com.extjs.gxt.ui.client.data.Loader.load()

      store.addFilter(getModelFilter());
      store.filter("");
    } else {
      deferredUpdate.cancel();
      Loader l = store.getLoader();
      l.load();
    }
  }

  @SuppressWarnings("rawtypes")
  protected void saveState(Grid grid, Map<String, Object> state) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.data.RemoteSortTreeLoader.load()

          }
        };
        treeLoader.addListener(Loader.Load, l);
        treeLoader.setSortDir(sortDir);
        treeLoader.setSortField(field);
        if (!treeLoader.load()) {
          treeLoader.removeListener(Loader.Load, l);
          sortInfo.setSortField(prev.getSortField());
          sortInfo.setSortDir(prev.getSortDir());
        }
        return;
View Full Code Here

Examples of com.facebook.swift.generator.util.TemplateLoader.load()

                ImmutableMap.of(
                        ThriftType.class, thriftTypeRenderer,
                        ThriftServiceMetadata.class, serviceRenderer,
                        Requiredness.class, new FieldRequirednessRenderer()));
        ThriftContext ctx = new ThriftContext(packageName, ImmutableList.copyOf(includes.build()), thriftTypes, thriftServices, namespaceMap);
        ST template = tl.load("thriftfile");
        template.add("context", ctx);
        template.write(new AutoIndentWriter(outputStreamWriter));
        outputStreamWriter.flush();
    }
View Full Code Here

Examples of com.fixy.Fixy.load()

    em.flush();
  }
 
  protected void loadFixture(String filename) {
    Fixy fixy = JPAFixy.create(em);
    fixy.load(convertRelativePathToAbsolute(filename));
    flushAndClearEM();
  }
 
  private String convertRelativePathToAbsolute(String filename) {
    if (filename.startsWith("/")) {
View Full Code Here

Examples of com.flansmod.common.vector.Matrix4f.load()

 
  public RotatedAxes findLocalAxesGlobally(RotatedAxes in)
  {
    //Take the input matrix
    Matrix4f mat = new Matrix4f();
    mat.load(in.getMatrix());
    //Perform the rotations to convert from this local set of axes to the global axes
    mat.rotate(rotationRoll * 3.14159265F / 180F, new Vector3f(1F, 0F, 0F));
    mat.rotate(rotationPitch * 3.14159265F / 180F, new Vector3f(0F, 0F, 1F));
    mat.rotate(rotationYaw * 3.14159265F / 180F, new Vector3f(0F, 1F, 0F));
    //Return the globalised matrix
View Full Code Here

Examples of com.fujitsu.xml.omquery.XtOmQueryMgr.load()

         XtOmQueryMgr query_mgr = new XtOmQueryMgr();           // [ 588 millis ] [ 612 millis ]
         System.out.println("Instantiate DomQueryMgr" + mgrTime.nice());

         {
            StopWatch loadTime = new StopWatch();
            com.jclark.xsl.om.Node node = query_mgr.load(input);// [ 738 millis ] [ 1 sec 987 millis ]
            System.out.println("Load nodes" + loadTime.nice());

            if (argv.length > 1) {
               StopWatch queryTime = new StopWatch();
               iter = query_mgr.getNodesByXPath(node, argv[1]); // [ 2 sec 422 millis ] [ 2 sec 577 millis ]
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.