Examples of transform()


Examples of org.jamesii.gui.visualization.chart.axes.SimpleLogarithmicAxis.transform()

      referenceAxis.setMinimum(min);
      referenceAxis.setMaximum(max);

      for (int j = 0; j < 1000; j++) {
        double v = Math.random() * (max - min) + min;
        assertEquals(referenceAxis.transform(v), axis.transform(v), 0.00000001);
      }
    }

    // small test for symmetry around the basePointValue

Examples of org.jasig.portal.utils.XSLT.transform()

           
            xslt.setStylesheetParameter("baseActionUrl", this.runtimeData
                    .getBaseActionURL(true));
            xslt.setStylesheetParameter("baseMediaUrl", mediaBase);
            xslt.setStylesheetParameter("selectedSection", currentSection);
            xslt.transform();
            String html = results.toString();
            pw.print(html);
        } catch (Exception e)
        {
            throw new PortalException("Problem generating content.", e);

Examples of org.jboss.aerogear.unifiedpush.rest.util.transform.DynamicTransformer.transform()

    JsonNode applyDynamicTransformer(JsonNode json, JsonNode patch) throws IOException {
        String clazz = patch.findPath(TRANSFORMER).textValue();
        if (clazz != null) {
            try {
                final DynamicTransformer dynamicTransformer = (DynamicTransformer) Class.forName(getClass().getPackage().getName() + ".transform." + clazz).newInstance();
                return dynamicTransformer.transform(json);
            } catch (Exception e) {
                throw new RuntimeException("error in json patch could not instantiate / find dynamic transformer", e);
            }
        }
        return json;

Examples of org.jboss.aop.instrument.Instrumentor.transform()

             return null;
          }

          manager.attachMetaData(advisor, clazz, true);
          manager.applyInterfaceIntroductions(advisor, clazz);
          boolean transformed = instrumentor.transform(clazz, advisor);
          if (transformed)
          {
             pool.lockInCache(clazz);
             if (AspectManager.debugClasses)
             {

Examples of org.jboss.as.console.client.administration.role.model.RoleAssignments.transform()

                        for (ModelNode node : roleMappings) {
                            addManagementModelRoleAssignment(principals, assignments, roles, node.asProperty());
                        }
                        // All entities are read - now transform the role assignements from the management model to
                        // role assignments used in the UI and update the view
                        assignments.transform(principals);

                        control.getContext().put(Results.PRINCIPALS, principals);
                        control.getContext().put(Results.ASSIGNMENTS, assignments);
                        control.getContext().put(Results.ROLES, roles);
                        control.proceed();

Examples of org.jboss.byteman.agent.Transformer.transform()

                }
                // ok, we try transforming the actual class mentioned in the rule -- this may be an interface
                // or an abstract class so we may not get any results out of the transform

                info("Checking rule " + script.getName() + " against class " + targetClass.getName());
                bytes = transformer.transform(script, loader, targetClass.getName(), bytes);
                // maybe dump the transformed bytecode
                Transformer.maybeDumpClass(targetClass.getName(), bytes);
            }

            // see if we have a record of any transform

Examples of org.jboss.classloading.spi.Translator.transform()

/*     */       {
/* 513 */         URL classUrl = getClassURL(name);
/* 514 */         byte[] rawcode = loadByteCode(classUrl);
/* 515 */         URL codeSourceUrl = getCodeSourceURL(name, classUrl);
/* 516 */         ProtectionDomain pd = getProtectionDomain(codeSourceUrl);
/* 517 */         byte[] bytecode = translator.transform(this, name, null, pd, rawcode);
/*     */
/* 519 */         if (bytecode == null) {
/* 520 */           bytecode = rawcode;
/*     */         }
/* 522 */         definePackage(name);

Examples of org.jboss.kernel.api.dependency.MatcherTransformer.transform()

/*  79 */     if (transformer == null) {
/*  80 */       transformer = "default";
/*     */     }
/*  82 */     MatcherTransformer mt = (MatcherTransformer)this.transfomers.get(transformer);
/*  83 */     if (mt != null) {
/*  84 */       return mt.transform(value);
/*     */     }
/*  86 */     if (this.log.isTraceEnabled()) {
/*  87 */       this.log.trace("No matching transfomer key '" + transformer + "', trying to instantiate new.");
/*     */     }
/*     */     try

Examples of org.jboss.managed.spi.factory.RuntimeComponentNameTransformer.transform()

               if (tClass != ManagementRuntimeRef.DEFAULT_NAME_TRANSFORMER.class)
                  transformer = getComponentNameTransformer(configuration.getTypeInfo(tClass));
               else
                  transformer = getComponentNameTransformer(propertyInfo.getType());

               return (transformer != null) ? transformer.transform(original) : original;
            }
            catch (Throwable t)
            {
               throw new UndeclaredThrowableException(t);
            }

Examples of org.jboss.util.loading.Translator.transform()

/*     */       {
/* 563 */         URL classUrl = getClassURL(name);
/* 564 */         byte[] rawcode = loadByteCode(classUrl);
/* 565 */         URL codeSourceUrl = getCodeSourceURL(name, classUrl);
/* 566 */         ProtectionDomain pd = getProtectionDomain(codeSourceUrl);
/* 567 */         byte[] bytecode = translator.transform(this, name, null, pd, rawcode);
/*     */
/* 569 */         if (bytecode == null) {
/* 570 */           bytecode = rawcode;
/*     */         }
/* 572 */         definePackage(name);
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.