Examples of ResultDocument


Examples of client.net.sf.saxon.ce.expr.instruct.ResultDocument

    }

    public Expression compile(Executable exec, Declaration decl) throws XPathException {

        ResultDocument inst = new ResultDocument(href, methodExpression, getBaseURI(), this);

        Expression b = compileSequenceConstructor(exec, decl, iterateAxis(Axis.CHILD));
        if (b == null) {
            b = new Literal(EmptySequence.getInstance());
        }
        inst.setContentExpression(b);
        return inst;
    }
View Full Code Here

Examples of net.sf.saxon.instruct.ResultDocument

        }
        for (IntIterator it=fixed.iterator(); it.hasNext();) {
            serializationAttributes.remove(it.next());
        }

        ResultDocument inst = new ResultDocument(globalProps,
                                              localProps,
                                              href,
                                              formatExpression,
                                              getBaseURI(),
                                              validationAction,
                                              schemaType,
                                              serializationAttributes,
                                              (needsNamespaceContext ? namespaceResolver : null));

        Expression b = compileSequenceConstructor(exec, iterateAxis(Axis.CHILD), true);
        if (b == null) {
            b = new Literal(EmptySequence.getInstance());
        }
        inst.setContentExpression(b);
        return inst;
    }
View Full Code Here

Examples of net.sf.saxon.instruct.ResultDocument

        }
        for (Iterator it=fixed.iterator(); it.hasNext();) {
            serializationAttributes.remove(it.next());
        }

        ResultDocument inst = new ResultDocument(props,
                                              href,
                                              getBaseURI(),
                                              validationAction,
                                              schemaType,
                                              serializationAttributes,
View Full Code Here

Examples of net.sf.saxon.instruct.ResultDocument

        }
        for (IntIterator it=fixed.iterator(); it.hasNext();) {
            serializationAttributes.remove(it.next());
        }

        ResultDocument inst = new ResultDocument(globalProps,
                                              localProps,
                                              href,
                                              formatExpression,
                                              getBaseURI(),
                                              validationAction,
                                              schemaType,
                                              serializationAttributes,
                                              (needsNamespaceContext ? namespaceResolver : null));

        Expression b = compileSequenceConstructor(exec, iterateAxis(Axis.CHILD), true);
        if (b == null) {
            b = new Literal(EmptySequence.getInstance());
        }
        inst.setContent(b);
        return inst;
    }
View Full Code Here

Examples of org.olat.core.commons.services.search.ResultDocument

  @Override
  protected void event(UserRequest ureq, Controller source, Event event) {
    if (source == resultCtlr) {
      if (event instanceof SearchEvent) {
        SearchEvent goEvent = (SearchEvent)event;
        ResultDocument doc = goEvent.getDocument();
        gotoSearchResult(ureq, doc);
      } else if (event == Event.DONE_EVENT) {
        setSearchString(resultCtlr.getSearchString());
      }
    } else if (CloseableModalWindowController.CLOSE_WINDOW_EVENT.equals(event)) {
View Full Code Here

Examples of org.olat.core.commons.services.search.ResultDocument

    SearchServiceUIFactory searchUIFactory = (SearchServiceUIFactory)ServiceFactory.getService(SearchServiceUIFactory.class);
   
    int count = 0;
    int start = currentPage * resultPerPage;
    for (int i = start ; (i < start + resultPerPage) && (i < searchResults.getList().size() ); i++) {
      ResultDocument document = searchResults.getList().get(i);
      ResultController ctrl = searchUIFactory.createController(ureq, getWindowControl(), mainForm, document);
      ctrl.setHighlight(highlight);
      listenTo(ctrl);
      flc.add("result_" + ++count, ctrl.getInitialFormItem());
      resultsCtrl.add(ctrl);
View Full Code Here

Examples of org.olat.core.commons.services.search.ResultDocument

    List<ResultDocument> newResultList = new ArrayList<ResultDocument>(maxResults);
    Iterator<OlatDocument> iter = filteredList.iterator();
    while (iter.hasNext()) {
      OlatDocument odoc = iter.next();
      Document doc = odoc.getLuceneDocument();
      ResultDocument resultDocument = new ResultDocument(doc);
      if (doHighlighting) {
        doHighlight(query, analyzer, doc, resultDocument);
      }
      newResultList.add(resultDocument);
    }
View Full Code Here

Examples of org.pdf4j.saxon.instruct.ResultDocument

        }
        for (IntIterator it=fixed.iterator(); it.hasNext();) {
            serializationAttributes.remove(it.next());
        }

        ResultDocument inst = new ResultDocument(globalProps,
                                              localProps,
                                              href,
                                              formatExpression,
                                              getBaseURI(),
                                              validationAction,
                                              schemaType,
                                              serializationAttributes,
                                              (needsNamespaceContext ? namespaceResolver : null));

        Expression b = compileSequenceConstructor(exec, iterateAxis(Axis.CHILD), true);
        if (b == null) {
            b = new Literal(EmptySequence.getInstance());
        }
        inst.setContent(b);
        return inst;
    }
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.