Examples of resolveURI()


Examples of org.eclipse.core.resources.IPathVariableManager.resolveURI()

    int _size = paths.size();
    final List<IPath> result = Lists.<IPath>newArrayListWithCapacity(_size);
    for (final IPath path : paths) {
      {
        URI _uRI = URIUtil.toURI(path);
        URI _resolveURI = pathVariableManager.resolveURI(_uRI);
        final IPath resolvedPath = URIUtil.toPath(_resolveURI);
        result.add(resolvedPath);
      }
    }
    return Collections.<IPath>unmodifiableCollection(result);
View Full Code Here

Examples of org.eclipse.core.resources.IPathVariableManager.resolveURI()

 
  public IPath resolvePath(final IPath path) {
    IWorkspace _workspace = ResourcesPlugin.getWorkspace();
    final IPathVariableManager pathVariableManager = _workspace.getPathVariableManager();
    URI _uRI = URIUtil.toURI(path);
    URI _resolveURI = pathVariableManager.resolveURI(_uRI);
    return URIUtil.toPath(_resolveURI);
  }
}
View Full Code Here

Examples of org.eclipse.wst.wsdl.internal.util.WSDLModelLocator.resolveURI()

  {
    String result = null;
    WSDLModelLocator locator = (WSDLModelLocator)EcoreUtil.getRegisteredAdapter(definition.eResource(), WSDLModelLocator.class);
    if (locator != null)
    {
      result = locator.resolveURI(definition.getDocumentBaseURI(), namespace, schemaLocation);
    }
    else
    {
      // TODO... there's some default resolving we'll need to do here
      // see XSDSchemaDirective
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveURI()

          break;
        case ICatalogEntry.ENTRY_TYPE_SYSTEM:
          result = catalog.resolveSystem(systemId);
          break;
        case ICatalogEntry.ENTRY_TYPE_URI:
          result = catalog.resolveURI(systemId);
          break;
        default:
          break;
        }
        if (result != null)
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveURI()

              break;
            case IDelegateCatalog.DELEGATE_TYPE_SYSTEM:
              result = catalog.resolveSystem(systemId);
              break;
            case IDelegateCatalog.DELEGATE_TYPE_URI:
              result = catalog.resolveURI(systemId);
              break;
            default:
              break;
            }
            if (result != null)
View Full Code Here

Examples of org.jboss.resteasy.spi.touri.ObjectToURI.resolveURI()

   {
      ObjectToURI instance = ObjectToURI.getInstance();
      Assert.assertEquals("/foo/123", instance
              .resolveURI(new URITemplateObject(123)));
      Assert.assertEquals("/my-url", instance.resolveURI(new URIableObject()));
      Assert.assertEquals("/foo/123", instance.resolveURI(new MappedByObject(
              123)));
   }

   @Test
   public void testCustomResolver()
View Full Code Here

Examples of org.milyn.resource.URIResourceLocator.resolveURI()

        if(isValidURI(ediMappingModel)) {
            URIResourceLocator resourceLocator = new URIResourceLocator();
            URI importBaseURI;

        resourceLocator.setBaseURI(baseURI);       
        URI resourceURI = resourceLocator.resolveURI(ediMappingModel);
      importBaseURI = URIResourceLocator.extractBaseURI(resourceURI);
       
        return parseMappingModel(getMappingConfigData(resourceLocator, ediMappingModel), mappingDescription, resourceURI, importBaseURI);
      } else {
        return parseMappingModel(new StringReader(ediMappingModel), mappingDescription, null, baseURI);
View Full Code Here

Examples of org.xhtmlrenderer.swing.NaiveUserAgent.resolveURI()

    }
    protected String resolve(String baseUri, String uri)
    {
        NaiveUserAgent userAgent=new NaiveUserAgent();
        userAgent.setBaseURL(baseUri);
        return userAgent.resolveURI(uri);
    }
   
    public void testBasicResolve()
    {
        // absolut uris shold be unchanged
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.