Examples of Present()


Examples of org.fao.geonet.kernel.search.MetaSearcher.present()

        params.addContent(new Element("from").setText("1"));
        params.addContent(new Element("to").setText(range));
      }


    Element result = searcher.present(context, params, _config);

    // Update result elements to present
    SelectionManager.updateMDResult(context.getUserSession(), result);

    // Restore last search if set
View Full Code Here

Examples of org.fao.geonet.kernel.search.MetaSearcher.present()

    params.addContent(new Element("from").setText("1"));
    params.addContent(new Element("to").setText(searcher.getSize() +""));
    params.addContent(new Element("fast").setText("index"));

    Element result = searcher.present(context, params, config);

    searcher.close();

    return result;
  }
View Full Code Here

Examples of org.jboss.seam.remoting.annotationparser.syntaxtree.NodeListOptional.present()

                     annotations.add((org.jboss.seam.remoting.annotationparser.syntaxtree.Annotation) nsNode);
                  }
                  else if (nsNode instanceof NodeListOptional)
                  {
                     NodeListOptional nlo = (NodeListOptional) nsNode;
                     if (nlo.present())
                     {
                        for (Node nloNode : nlo.nodes)
                        {
                           if (nloNode instanceof NodeSequence)
                           {
View Full Code Here

Examples of org.jboss.seam.remoting.annotationparser.syntaxtree.NodeListOptional.present()

      StringBuilder sb = new StringBuilder();
     
      sb.append(name.f0.tokenImage);
     
      NodeListOptional nodeList = ((NodeListOptional) name.f1);
      if (nodeList.present())
      {
         for (Node node : nodeList.nodes)
         {
            if (node instanceof NodeSequence)
            {
View Full Code Here

Examples of org.jboss.seam.remoting.annotationparser.syntaxtree.NodeOptional.present()

         new ArrayList<org.jboss.seam.remoting.annotationparser.syntaxtree.Annotation>();
     
      // TODO messy! turn this into a recursive function
     
      NodeOptional n = (NodeOptional) node.f0;
      if (n.present())
      {
         if (n.node instanceof NodeSequence)
         {
            NodeSequence ns = (NodeSequence) n.node;
            {
View Full Code Here

Examples of ru.yandex.strictweb.ajaxtools.presentation.Presentation.present()

            }
          }
         
          results.add(result);
      }
      present.present(response.getWriter(), results);
    }catch(Throwable e) {
      if(e.getClass().getCanonicalName().equals("org.eclipse.jetty.continuation.ContinuationThrowable")) {
        throw (Error)e;
      }
      e.printStackTrace();
View Full Code Here

Examples of ru.yandex.strictweb.ajaxtools.presentation.Presentation.present()

      }
      e.printStackTrace();
      if(null!=orm) orm.rollback();

      try {
                present.present(response.getWriter(), e);
            } catch (Throwable e1) {
                response.sendError(500, e.getMessage());
            }
    } finally {
      if(null!=orm) orm.close();
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.