Examples of resolve()


Examples of org.osgi.framework.wiring.BundleRevision.resolve()

            {
                BundleRevisionImpl revision = (BundleRevisionImpl) entry.getKey();

                // Mark revision as resolved.
                BundleWiring wiring = entry.getValue();
                revision.resolve(entry.getValue());

                // Record dependencies.
                for (BundleWire bw : wiring.getRequiredWires(null))
                {
                    m_felix.getDependencies().addDependent(bw);
View Full Code Here

Examples of org.osgi.service.obr.Resolver.resolve()

            for (Iterator ri=resources.iterator(); ri.hasNext(); ) {
                resolver.add((org.osgi.service.obr.Resource) ri.next());
            }

            // resolve the resources
            if (!resolver.resolve()) {
                // TODO: dump why
            }

            HashSet bundles = new HashSet();
            org.osgi.service.obr.Resource[] list = resolver.getAddedResources();
View Full Code Here

Examples of org.osgi.service.resolver.Resolver.resolve()

        Map<Resource, Wiring> wirings = new HashMap<Resource, Wiring>();
        Map<Requirement, List<Capability>> candMap = new HashMap<Requirement, List<Capability>>();
        List<Resource> mandatory = populateScenario3(wirings, candMap);
        ResolveContextImpl rci = new ResolveContextImpl(wirings, candMap, mandatory, Collections.<Resource> emptyList());

        Map<Resource, List<Wire>> wireMap = resolver.resolve(rci);
        assertEquals(3, wireMap.size());

        Resource cRes = findResource("C", wireMap.keySet());
        List<Wire> cWires = wireMap.get(cRes);
        assertEquals(0, cWires.size());
View Full Code Here

Examples of org.pdf4j.saxon.CollectionURIResolver.resolve()

        }

        CollectionURIResolver resolver = context.getConfiguration().getCollectionURIResolver();
        SequenceIterator iter;
        try {
            iter = resolver.resolve(href, expressionBaseURI, context);
        } catch (XPathException e) {
            e.setLocator(this);
            throw e;
        }
View Full Code Here

Examples of org.pdf4j.saxon.OutputURIResolver.resolve()

                resolver = controller.getOutputURIResolver();

                String hrefValue = EscapeURI.iriToUri(href.evaluateAsString(context)).toString();
                try {
                    result = resolver.resolve(hrefValue, base);
                } catch (Exception err) {
                    throw new XPathException("Exception thrown by OutputURIResolver", err);
                }
                if (result == null) {
                    resolver = StandardOutputResolver.getInstance();
View Full Code Here

Examples of org.pdfclown.objects.PdfArray.resolve()

        basePosition = (streamIndex == 0
          ? 0
          : basePosition + stream.getLength());

        stream = (streamIndex < streams.size()
          ? ((PdfStream)streams.resolve(streamIndex)).getBody()
          : null);
      }
    }
    if(stream == null)
      return false;
View Full Code Here

Examples of org.pdfclown.objects.PdfDictionary.resolve()

      {
        PdfDictionary parent = getBaseDataObject();
        while(parent != null)
        {
          partialNameStack.push(((PdfTextString)parent.get(PdfName.T)).getValue());
          parent = (PdfDictionary)parent.resolve(PdfName.Parent);
        }
      }
      while(!partialNameStack.isEmpty())
      {
        if(buffer.length() > 0)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderLength.resolve()

    final RenderLength prefLength = boxDef.getPreferredWidth();
    final RenderLength maxLength = boxDef.getMaximumWidth();

    final long min = minLength.resolve(bcw, 0);
    final long pref = prefLength.resolve(bcw, 0);
    final long max = maxLength.resolve(bcw, ComputeStaticPropertiesProcessStep.MAX_AUTO);
    return ProcessUtility.computeLength(min, max, pref);
  }


  protected boolean startCanvasLevelBox(final RenderBox box)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.style.resolver.SimpleStyleResolver.resolve()

      final ResolverStyleSheet resolverStyleSheet = getResolvedStyle();
      if (elements.length > 0)
      {
        final StyleResolver resolver = new SimpleStyleResolver(true);
        resolver.resolve(elements[0], resolverStyleSheet);
      }

      this.inheritValues = new Object[metaData.length];
      this.expressionValues = new Object[metaData.length];
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.style.resolver.StyleResolver.resolve()

      final ResolverStyleSheet resolverStyleSheet = getResolvedStyle();
      if (elements.length > 0)
      {
        final StyleResolver resolver = new SimpleStyleResolver(true);
        resolver.resolve(elements[0], resolverStyleSheet);
      }

      this.inheritValues = new Object[metaData.length];
      this.expressionValues = new Object[metaData.length];
    }
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.