Examples of apply()


Examples of com.sun.facelets.TemplateClient.apply()

        for (int i = 0; i < this.clients.size() && found == false; i++) {
            client = ((TemplateClient) this.clients.get(i));
            if (client.equals(this.facelet))
                continue;
            found = client.apply(this, parent, name);
        }

        return found;
    }
View Full Code Here

Examples of com.sun.facelets.tag.TagHandler.apply()

    Map<String, Object> attributes = facesContext.getViewRoot().getAttributes();
   
    Object ajaxBean = new Object();
    TagHandler ajaxTag = setupTagHandler("ajaxAliveBean", ajaxBean, true);
   
    ajaxTag.apply(ctx , null);
    assertSame(ajaxBean, attributes.get(AjaxPhaseListener.AJAX_BEAN_PREFIX + "ajaxAliveBean"));

    Object bean = new Object();
    TagHandler tag = setupTagHandler("thatBean", bean, false);
   
View Full Code Here

Examples of com.sun.faces.facelets.Facelet.apply()

        // handlers of the <cc:interface> to be called.  The
        // compcomp spec says each such tag handler is responsible
        // for adding to the compcomp metadata, referenced from the
        // facetComponent parent.

            f.apply(context, facetComponent);

        // When f.apply() returns (and therefore
        // InterfaceHandler.apply() returns), the compcomp metadata
        // pointed to by facetComponent is fully populated.
View Full Code Here

Examples of com.sun.xml.xsom.XSContentType.apply()

                def.addChild(baseType.apply(this));

                if(ct.getDerivationMethod()==XSType.EXTENSION) {
                    XSContentType explicitContent = ct.getExplicitContent();
                    if(explicitContent!=null)
                        def.addChild(explicitContent.apply(this));
                    attHolder(ct, def);
                }
            } else {
                // just start from fresh
                def.addChild(ct.getContentType().apply(this));
View Full Code Here

Examples of com.sun.xml.xsom.XSType.apply()

            complexTypes.put(ct,def);

            XSType baseType = ct.getBaseType();
            if(baseType.isComplexType() && !isAnyType(baseType)) {
                // copy inheritance
                def.addChild(baseType.apply(this));

                if(ct.getDerivationMethod()==XSType.EXTENSION) {
                    XSContentType explicitContent = ct.getExplicitContent();
                    if(explicitContent!=null)
                        def.addChild(explicitContent.apply(this));
View Full Code Here

Examples of com.tll.model.bk.BusinessKeyFactory.apply()

      ((ITimeStampEntity) e2).setDateCreated(((ITimeStampEntity) e2).getDateCreated());
      ((ITimeStampEntity) e2).setDateModified(((ITimeStampEntity) e2).getDateModified());
    }
    try {
      BusinessKeyFactory bkf = new BusinessKeyFactory(new EntityMetadata());
      bkf.apply(e2, bkf.create(e1));
    }
    catch(final BusinessKeyNotDefinedException e) {
      // assume ok
    }
    catch(final BusinessKeyPropertyException e) {
View Full Code Here

Examples of com.twitter.common.logging.RootLogConfig.Configuration.apply()

  @Override
  public void run() {
    // Setup log4j to match our jul glog config in order to pick up zookeeper logging.
    Configuration logConfiguration = RootLogConfig.configurationFromFlags();
    logConfiguration.apply();
    Log4jConfigurator.configureConsole(logConfiguration);

    LeadershipListener leaderListener = schedulerLifecycle.prepare();

    Optional<InetSocketAddress> httpSocket =
View Full Code Here

Examples of com.twitter.util.Future.apply()

        info("Found: " + key);
        return null;
      }
    });

    f.apply();

    Future f2 = cass.columnsIteratee(2, "yay for me").foreach(new Function<Column<String, String>, scala.runtime.BoxedUnit>() {
      public scala.runtime.BoxedUnit apply(Column<String,String> column){
        info("Found Columns Iteratee: " + column);
        return null;
View Full Code Here

Examples of com.vividsolutions.jts.geom.Geometry.apply()

            Geometry geom = (Geometry) f.getDefaultGeometry();
            try{
                final double height = new FeatureHeightTemplate(template).execute(f);

                if (!Double.isNaN(height) && height != 0){
                    geom.apply(
                        new CoordinateFilter(){
                            public void filter(Coordinate c){
                                c.setCoordinate(new Coordinate(c.x, c.y, height));
                            }
                        }
View Full Code Here

Examples of com.vividsolutions.jts.geom.MultiPolygon.apply()

    private MultiPolygon applyMAFilter(MultiPolygon poly, int degree, Geometry preserve){
        MultiPolygon filtered = null;
       
        for(int deg = degree; deg > 0; deg--){
            filtered = (MultiPolygon) poly.clone();
            filtered.apply(new ComponentMovingAverageFilter(deg, preserve));
           
            if(filtered.isValid()){
                ConnectedInteriorTester t1 = new ConnectedInteriorTester(null);
               
                System.err.println("Applied filter degree: " + deg);
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.