Examples of toURL()


Examples of org.locationtech.udig.catalog.ID.toURL()

       if( data instanceof IResolve ){
           return toCapabilitiesURL( (IResolve) data );
       }
       else if( ID.cast(data) != null ){
           ID id = ID.cast( data );
           if( id.toURL() != null ){
               return toCapabilitiesURL( id.toURL() );
           }
       }
       return null; // no idea what this should be      
   }
View Full Code Here

Examples of org.ocpsoft.rewrite.servlet.util.URLBuilder.toURL()

            String parentActionURL = parent.getActionURL(context, viewId);
            if (parentActionURL.contains("?"))
            {
               URLBuilder builder = URLBuilder.createFrom(result);
               builder.getQueryStringBuilder().addParameters(parentActionURL);
               result = builder.toURL();
            }
         }
      }
      if (result == null)
         result = parent.getActionURL(context, viewId);
View Full Code Here

Examples of org.openide.filesystems.FileObject.toURL()

                FileObject jar = getJarForSource(sourceRootObj);
                if (jar == null) {
                    return NO_ROOTS;
                }

                return new URL[]{jar.toURL()};
            }

            @Override
            public void addChangeListener(ChangeListener l) {
            }
View Full Code Here

Examples of org.pentaho.reporting.libraries.resourceloader.ResourceManager.toURL()

    }


    elementFactory.setContent(content);
    final ResourceManager resourceManager = getRootHandler().getResourceManager();
    elementFactory.setBaseURL(resourceManager.toURL(getRootHandler().getContext()));
  }

  protected ElementFactory getElementFactory()
  {
    return elementFactory;
View Full Code Here

Examples of org.pentaho.reporting.libraries.resourceloader.ResourceManager.toURL()

    {
      throw new SAXException("Required attribute 'fieldname' is missing.");
    }
    elementFactory.setFieldname(fieldName);
    final ResourceManager resourceManager = getRootHandler().getResourceManager();
    elementFactory.setBaseURL(resourceManager.toURL(getRootHandler().getContext()));
  }

  protected ElementFactory getElementFactory()
  {
    return elementFactory;
View Full Code Here

Examples of org.pentaho.reporting.libraries.resourceloader.ResourceManager.toURL()

        new HierarchicalConfiguration(report.getReportConfiguration());
    final ResourceKey contentBase = report.getContentBase();
    if (contentBase != null)
    {
      final ResourceManager resourceManager = report.getResourceManager();
      final URL value = resourceManager.toURL(contentBase);
      if (value != null)
      {
        repConf.setConfigProperty
            (AbstractXmlResourceFactory.CONTENTBASE_KEY, value.toExternalForm());
      }
View Full Code Here

Examples of org.pentaho.reporting.libraries.resourceloader.ResourceManager.toURL()

  }

  private void handleSource(final PropertyAttributes atts)
  {
    final ResourceManager resourceManager = getRootHandler().getResourceManager();
    elementFactory.setBaseURL(resourceManager.toURL(getRootHandler().getContext()));
    elementFactory.setContent(atts.getValue(getUri(), ImageRefReadHandler.SRC_ATT));
  }


  protected ElementFactory getElementFactory()
View Full Code Here

Examples of org.restlet.data.Reference.toUrl()

                    if (userInfo != null) {
                        ftpRef.setUserInfo(userInfo);
                    }

                    URL url = ftpRef.toUrl();
                    URLConnection connection = url.openConnection();

                    // These properties can only be used with Java 1.5 and upper
                    // releases
                    int majorVersionNumber = SystemUtils.getJavaMajorVersion();
View Full Code Here

Examples of org.rssowl.ui.internal.ApplicationServer.toUrl()

    IFolder root = fFactory.createFolder(null, null, "Root");
    IBookMark bm = fFactory.createBookMark(null, root, new FeedLinkReference(feed.getLink()), "Bookmark");
    DynamicDAO.save(root);

    String newsUrl = server.toUrl("foo", news1);
    assertTrue(URIUtils.looksLikeLink(newsUrl));

    String bmUrl = server.toUrl("foo", bm);
    assertTrue(URIUtils.looksLikeLink(bmUrl));
  }
View Full Code Here

Examples of org.springframework.ldap.core.DistinguishedName.toUrl()

            public NamingEnumeration<SearchResult> executeSearch(DirContext ctx) throws NamingException {
                DistinguishedName fullDn = LdapUtils.getFullDn(dn, ctx);
                SearchControls ctrls = new SearchControls();
                ctrls.setReturningAttributes(new String[] {groupRoleAttributeName});

                return ctx.search(groupSearchBase, groupSearchFilter, new String[] {fullDn.toUrl(), username}, ctrls);
            }
        };

        AttributesMapperCallbackHandler roleCollector =
                new AttributesMapperCallbackHandler(roleMapper);
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.