Examples of resolve()


Examples of org.apache.xml.resolver.tools.CatalogResolver.resolve()

        Resolver resolver = ResolverWrapper.getInstance();
        CatalogResolver catResolver = resolver.getCatalogResolver();
        if(Log.isDebugEnabled(Log.XML_RESOLVER)) {
            Log.debug(Log.XML_RESOLVER, "Trying to resolve "+href+":"+base);
        }
        Source s = catResolver.resolve(href, base);

         boolean isFile = false;
         try {
             final File file = new File(s.getSystemId());
             isFile = file.isFile();
View Full Code Here

Examples of org.apache.xml.security.utils.resolver.ResourceResolver.resolve()

    ) throws XMLSecurityException {
        Attr uri = rm.getURIAttr();
        // Apply the transforms
        Transforms transforms = rm.getTransforms();
        ResourceResolver resRes = ResourceResolver.getInstance(uri, baseURI, secureValidation);
        XMLSignatureInput resource = resRes.resolve(uri, baseURI, secureValidation);
        if (transforms != null) {
            if (log.isDebugEnabled()) {
                log.debug("We have Transforms");
            }
            resource = transforms.performTransforms(resource);
View Full Code Here

Examples of org.archive.net.UURI.resolve()

            }
            while (iter.hasNext()) {
                res = iter.next();
                res = StringEscapeUtils.unescapeHtml(res);
                if (codebaseURI != null) {
                    res = codebaseURI.resolve(res).toString();
                }
                processEmbed(curi, res, element); // TODO: include attribute
                                                    // too
            }
        } catch (URIException e) {
View Full Code Here

Examples of org.archive.wayback.replay.html.ReplayParseContext.resolve()

        String out = servletOutput.getString();
        assertEquals("servlet output", payload, out);
       
        ReplayParseContext context = parseContextCapture.getValue();
        // testing indirectly because ReplayParseContext has no method returning baseUrl.
        assertEquals("baseUrl is correctly set up", "http://www.example.com/a.html", context.resolve("a.html"));
    }
   
    /**
     * test revisit record (in new format with HTTP headers).
     * @throws Exception
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve()

    if (originalMethod.declaringClass instanceof SourceTypeBinding) {
      SourceTypeBinding sourceType = (SourceTypeBinding) originalMethod.declaringClass;
      if (sourceType.scope != null) {
        AbstractMethodDeclaration methodDeclaration = originalMethod.sourceMethod();
        if (methodDeclaration != null && methodDeclaration.isAnnotationMethod()) {
          methodDeclaration.resolve(sourceType.scope);
        }
      }
    }
    originalMethod.tagBits |= TagBits.DefaultValueResolved;
  }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression.resolve()

      AbstractMethodDeclaration methodDecl = getTypeDeclaration().declarationOf((MethodBinding) realBinding);
      if (methodDecl instanceof AnnotationMethodDeclaration) {
        AnnotationMethodDeclaration annoMethodDecl = (AnnotationMethodDeclaration) methodDecl;
        Expression e = annoMethodDecl.defaultValue;
        if (e.resolvedType == null) {
          e.resolve(methodDecl.scope);
        }
        // TODO does not cope with many cases...
        if (e instanceof QualifiedNameReference) {

          QualifiedNameReference qnr = (QualifiedNameReference) e;
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.FieldDeclaration.resolve()

      if (originalField.declaringClass instanceof SourceTypeBinding) {
        SourceTypeBinding sourceType = (SourceTypeBinding) originalField.declaringClass;
        if (sourceType.scope != null) {
          TypeDeclaration typeDecl = sourceType.scope.referenceContext;
          FieldDeclaration fieldDecl = typeDecl.declarationOf(originalField);
          fieldDecl.resolve(originalField.isStatic() //side effect on binding
              ? typeDecl.staticInitializerScope
              : typeDecl.initializerScope);
          fieldConstant = originalField.constant();
        } else {
          fieldConstant = Constant.NotAConstant; // shouldn't occur per construction (paranoid null check)
View Full Code Here

Examples of org.aspectj.weaver.Member.resolve()

        // shadow.
        InstructionHandle prevHandle = ih.getPrev();
        Instruction prevI = prevHandle.getInstruction();
        if (Utility.isConstantPushInstruction(prevI)) {
          Member field = BcelWorld.makeFieldJoinPointSignature(clazz, (FieldInstruction) i);
          ResolvedMember resolvedField = field.resolve(world);
          if (resolvedField == null) {
            // we can't find the field, so it's not a join point.
          } else if (Modifier.isFinal(resolvedField.getModifiers())) {
            // it's final, so it's the set of a final constant, so
            // it's
View Full Code Here

Examples of org.aspectj.weaver.ResolvedMember.resolve()

        if (isSuper) {
          dispatchName = NameMangler.superDispatchMethod(onType, superMethod.getName());
        } else {
          dispatchName = NameMangler.protectedDispatchMethod(onType, superMethod.getName());
        }
        superMethod = superMethod.resolve(weaver.getWorld());
        LazyMethodGen dispatcher = makeDispatcher(gen, dispatchName, superMethod, weaver.getWorld(), isSuper);

        weaver.addLazyMethodGen(dispatcher);
      }
    }
View Full Code Here

Examples of org.aspectj.weaver.ResolvedMemberImpl.resolve()

        tVars[i] = ((TypeVariableReference) ajTypeRefs[i]).getTypeVariable();
      }
      ret.setTypeVariables(tVars);
    }
    typeVariablesForThisMember.clear();
    ret.resolve(world);
    return ret;
  }

  public ResolvedMember makeResolvedMember(FieldBinding binding) {
    return makeResolvedMember(binding, binding.declaringClass);
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.