Examples of resolve()


Examples of org.xml.sax.EntityResolver.resolve()

      {
        EntityResolver resolver = new EntityResolver(){

      public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
        URIResolver resolver = WSITestToolsEclipseProperties.getURIResolver();
        String uri = resolver.resolve("", publicId, systemId);
        String physicalLocation = resolver.resolvePhysicalLocation("", publicId, uri);
        InputSource is = null;
        try
        {
          URL url = new URL(physicalLocation);
View Full Code Here

Examples of protobuf.lang.psi.api.reference.PbRef.resolve()

    @Nullable
    @Override
    public PsiElement getQualifier() {
        PbRef ref = getQualifierRef(); // Call into the old method for finding the qualifying reference.
        PsiElement refEl = ref != null ? ref.resolve() : null; // If the reference exists, resolve its element.
        return refEl;
    }

    /**
     * The #getQualifier() method signature changed in Idea 12 to return a PsiElement.  This method simply maintains
View Full Code Here

Examples of se.jbee.inject.Injector.resolve()

  }

  @Test
  public void thatReconfigurationIsProvidedToAnotherImplementation() {
    Injector injector = Bootstrap.injector( ConfigurationDependentBindsBundle.class );
    Configuration config = injector.resolve( dependency( Configuration.class ) );
    Provider<Validator> v = injector.resolve( dependency( providerTypeOf( Validator.class ) ) );
    String input = "input";
    assertTrue( v.provide().valid( input ) );
    config.setValidationStrength( ValidationStrength.STRICT );
    assertFalse( v.provide().valid( input ) );
View Full Code Here

Examples of tripleplay.ui.util.BoxPoint.resolve()

            // get the origin point from the menu
            BoxPoint origin = resolveStyle(pop.trigger, POPUP_ORIGIN);

            // get the desired position, may be relative to trigger or pointer
            Point tpos = position.getLocation(pop.trigger, pop.pointer);
            Point mpos = origin.resolve(0, 0, width, height, new Point());

            // figure out the best place to put the menu, in screen coordinates; starting with
            // the requested popup position
            Rectangle bounds = new Rectangle(tpos.x - mpos.x, tpos.y - mpos.y, width, height);
View Full Code Here

Examples of uk.co.brunella.osgi.bdt.bundle.BundleRepository.resolve()

    }
    VersionRange versionRange = VersionRange.parseVersionRange(range);
    BundleRepositoryPersister persister = new BundleRepositoryPersister(repositoryDirectory);
    BundleRepository repository = persister.load();
   
    ExportPackage[] exportPackages = repository.resolve(packageName, versionRange, true);
    if (exportPackages.length == 0) {
      System.out.println("No match found");
    } else {
      for (ExportPackage exportPackage : exportPackages) {
        BundleDescriptor descriptor = exportPackage.getBundleDescriptor();
View Full Code Here

Examples of wyvern.tools.types.UnresolvedType.resolve()

  public Type resolve(Environment env) {
    // System.out.println("Inside TypeInv innerType = " + innerType + " and its class is " + innerType.getClass());
   
    if (this.innerType instanceof UnresolvedType) {
      UnresolvedType ut = (UnresolvedType) this.innerType;
      Type t = ut.resolve(env);
     
      // System.out.println("GOT: " + t);
    }
    TypeBinding fetched = ((RecordType) innerType).getInnerType(invName);
View Full Code Here

Examples of xtc.type.Type.resolve()

                    (! analyzer.current().
                     hasAttribute(Constants.ATT_NO_WARNINGS))) {
                  runtime.error("value of recursion's base case may not " +
                                "be a node", b.element);
                }
              } else if ((! type.resolve().isWildcard()) &&
                         (! AST.isNode(type))) {
                runtime.error("value of recursion's base case not a node",
                              b.element);
              }
            }
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.