Examples of load()


Examples of net.sf.minuteProject.loader.init.Init.load()

    logger.info("time taken : "+(endDate.getTime()-startDate.getTime())+ "ms.");   
  }
 
  private void loadInit(String filename) throws Exception {
      Init loader = new Init(filename);
    initholder = loader.load()
  }

  private void loadTarget(InitHolder initholder) throws Exception {
    Configuration configuration = initholder.getConfiguration();
    if (configuration!=null) {
View Full Code Here

Examples of net.sf.minuteProject.loader.mapping.Mapping.load()

    loadTarget(initholder.getConfiguration(), target)
  }
 
  private void loadPresentationDefinition(String dir, String filename) throws Exception {
      Mapping loader = new Mapping(dir, filename);
    mappingHolder = loader.load();   
  }

  private Target populateTarget (Targetlocation initTarget) {
    Target target = new Target();
    target.setDir(initTarget.getDir());
View Full Code Here

Examples of net.sf.minuteProject.loader.presentation.Presentation.load()

    loadTarget(initholder.getConfiguration(), target)
  }
 
  private void loadPresentationDefinition(String dir, String filename) throws Exception {
      Presentation loader = new Presentation(dir, filename);
    presentationholder = loader.load();   
  }

  private Target populateTarget (Targetlocation initTarget) {
    Target target = new Target();
    target.setDir(initTarget.getDir());
View Full Code Here

Examples of net.sf.saxon.s9api.SchemaManager.load()

        SAXSource source = new SAXSource(new InputSource("http://tests.xproc.org/tests/doc/compoundEntity.xml"));
        XdmNode document = builder.build(source);

        source = new SAXSource(new InputSource("http://tests.xproc.org/tests/doc/document.xsd"));
        XdmNode schema = builder.build(source);
        manager.load(schema.asSource());

        XdmDestination destination = new XdmDestination();
        Controller controller = new Controller(processor.getUnderlyingConfiguration());
        Receiver receiver = destination.getReceiver(controller.getConfiguration());
        PipelineConfiguration pipe = controller.makePipelineConfiguration();
View Full Code Here

Examples of net.sf.saxon.s9api.XPathExecutable.load()

        XPathCompiler xcomp = runtime.getProcessor().newXPathCompiler();
        xcomp.declareVariable(doca);
        xcomp.declareVariable(docb);

        XPathExecutable xexec = xcomp.compile("deep-equal($doca,$docb)");
        XPathSelector selector = xexec.load();

        selector.setVariable(doca,sdoc);
        selector.setVariable(docb,adoc);

        Iterator<XdmItem> values = selector.iterator();
View Full Code Here

Examples of net.sf.saxon.s9api.XQueryExecutable.load()

            Processor qtproc = runtime.getProcessor();
            DocumentBuilder builder = qtproc.newDocumentBuilder();
            builder.setBaseURI(new URI("http://example.com/"));
            XQueryCompiler xqcomp = qtproc.newXQueryCompiler();
            XQueryExecutable xqexec = xqcomp.compile(".");
            XQueryEvaluator xqeval = xqexec.load();
            xqeval.setContextItem(doc);

            serializer = new Serializer();

            serializer.setOutputProperty(Serializer.Property.BYTE_ORDER_MARK, serial.getByteOrderMark() ? "yes" : "no");
View Full Code Here

Examples of net.sf.saxon.s9api.XsltExecutable.load()

      //exp = comp.compile(new StreamSource(new File("proc.xsl")));
    } catch (SaxonApiException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    this.trans = exp.load();
  }

  public String run(Reader input, OutputStream output) {
    XdmNode source = null;
                String aftermath = null;
View Full Code Here

Examples of net.solosky.maplefetion.util.LocaleSetting.load()

      LocaleSetting localeSetting = this.context.getLocaleSetting();
      if(!localeSetting.isLoaded()) {
        try {
          logger.debug("Loading locale setting...");
        this.updateLoginState(LoginState.SEETING_LOAD_DOING, null);
        localeSetting.load(this.context.getFetionUser());
        if(!localeSetting.isValid())  //获取配置中如果无效,表明用户输入的账号无效
          throw new LoginException(LoginState.SSI_ACCOUNT_NOT_FOUND);
       
        this.updateLoginState(LoginState.SETTING_LOAD_SUCCESS, null);
      } catch (Exception e) {
View Full Code Here

Examples of net.sourceforge.fullsync.buffer.BlockBuffer.load()

        if (listener != null) {
          queue.addTaskFinishedListener(listener);
        }

        buffer.load();
        queue.enqueue(taskTree);
        queue.flush();
        buffer.unload();

        taskTree.getSource().flush();
View Full Code Here

Examples of net.sourceforge.ganttproject.GanttPreviousState.load()

    void save(List/*<GanttPreviousState*/ history, TransformerHandler handler) throws SAXException, ParserConfigurationException, IOException {
        AttributesImpl attrs = new AttributesImpl();
        startElement("previous", handler);
        for (int i=0; i<history.size(); i++) {
            final GanttPreviousState nextState = (GanttPreviousState) history.get(i);
            final List/*<GanttPreviousStateTask>*/ stateTasks = nextState.load();
            addAttribute("name", nextState.getName(), attrs);
            startElement("previous-tasks", attrs, handler);
            // ArrayList list =
            // ((GanttPreviousState)previous.get(i)).getTasks();
            for (int j=0; j<stateTasks.size(); j++) {
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.