Examples of transform()


Examples of com.laamella.snelxml.generator.model.ModelTransformer.transform()

            for (String xsd : xsds) {
                log.info("Processing: {}", xsd);
                final XSModel xsModel = schemaLoader.loadURI(new File(schemaDirectory, xsd).toURI().toString());
                Schema schema = xsdReader.readXsd(xsd, xsModel);
                final Model model = modelTransformer.transform(schema);
                readerGenerator.generate(model);
                gatherMapperGenerator.generate(model);
                immutableModelGenerator.generate(model);
                immutableModelMapperGenerator.generate(model);
                sampleXmlGenerator.writeSample(schema);

Examples of com.lowagie.text.pdf.PdfContentByte.transform()

            // step 3: we open the document
            document.open();
           
            // step 4:
            PdfContentByte cb = writer.getDirectContent();
            cb.transform(AffineTransform.getScaleInstance(1.2, 0.75));
           
            // we create a PdfTemplate
            PdfTemplate template = cb.createTemplate(25, 25);
           
            // we add some crosses to visualize the coordinates

Examples of com.mozilla.grouperfish.model.TransformConfig.transform()

        } catch (final Denied e) {
            throw Fail.hard(task, "Cannot create output directory.", e);
        }

        final TransformConfig config = task.transform();
        final Transform transform = transforms.get(config.transform());
        Assert.nonNull(transform);
        log.info(String.format("Launching transform '%s' with input directory '%s'", transform, inputDirectory));

        try {
            final TransformResult result = transform.run(task);

Examples of com.mxgraph.util.svg.ExtendedGeneralPath.transform()

    else if (shape instanceof ExtendedGeneralPath)
    {
      ExtendedGeneralPath path = (ExtendedGeneralPath) shape;
      cachedTransform.setToScale(widthRatio, heightRatio);
      cachedTransform.translate(transX, transY);
      path.transform(cachedTransform);
    }
    else if (shape instanceof Ellipse2D)
    {
      Ellipse2D ellipse = (Ellipse2D) shape;
      if (transX != 0 || transY != 0)

Examples of com.opengamma.analytics.math.minimization.UncoupledParameterTransforms.transform()

        return chiSqr;
      }
    };
    final ScalarMinimizer lineMinimizer = new BrentMinimizer1D();
    final ConjugateDirectionVectorMinimizer minimzer = new ConjugateDirectionVectorMinimizer(lineMinimizer, 1e-6, 10000);
    final DoubleMatrix1D fp = transforms.transform(new DoubleMatrix1D(initialFitParameters));
    final DoubleMatrix1D minPos = minimzer.minimize(function, fp);
    final double chiSquare = function.evaluate(minPos);
    final DoubleMatrix1D res = transforms.inverseTransform(minPos);
    return new LeastSquareResultsWithTransform(new LeastSquareResults(chiSquare, res, new DoubleMatrix2D(new double[N_PARAMETERS][N_PARAMETERS])), transforms);
    // return new LeastSquareResults(chiSquare, res, new DoubleMatrix2D(new double[N_PARAMETERS][N_PARAMETERS]));

Examples of com.orientechnologies.orient.core.collate.OCollate.transform()

      final int size = Math.min(keys.size(), collates.size());
      for (int i = 0; i < size; i++) {
        final Object key = keys.get(i);

        final OCollate collate = collates.get(i);
        transformedKey.addKey(collate.transform(key));
      }

      for (int i = size; i < keys.size(); i++)
        transformedKey.addKey(keys.get(i));

Examples of com.puzzletimer.graphics.Mesh.transform()

        System.out.println("WARNING: Cannot apply algo move <" + move + "> -> Skip it...");
      }
    }

    // custom perspective view
    mesh = mesh.transform(Matrix44.rotationY(-Math.PI / 5)).transform(Matrix44.rotationX(Math.PI / 7));

    return mesh;
  }

}

Examples of com.salesforce.phoenix.schema.ColumnModifier.transform()

            ColumnModifier modifier = childPart.getColumn().getColumnModifier();
            CompareOp op = node.getFilterOp();
            // For descending columns, the operator needs to be transformed to
            // it's opposite, since the range is backwards.
            if (modifier != null) {
                op = modifier.transform(op);
            }
            KeyRange keyRange = childPart.getKeyRange(op, rhs);
            return newKeyParts(childSlot, node, keyRange);
        }

Examples of com.skaringa.javaxml.ObjectTransformer.transform()

        new StreamSource(
          ClassLoader.getSystemResourceAsStream(
            "com/skaringa/javaxml/example/Person2OrgMember.xsl")));

      // transform using the previously set (and pre-parsed) stylesheet
      OrgMember fredTheMember = (OrgMember) trans.transform(fred);

      System.out.println(fredTheMember);
    }
    // Handle the weird things...
    catch (NoImplementationException e) {

Examples of com.sshtools.j2ssh.transport.cipher.SshCipher.transform()

                mac = hmac.generate(sequenceNo, packet, 0, packet.length);
            }

            // Perfrom encrpytion
            if (cipher != null) {
                packet = cipher.transform(packet);
            }

            // Reset the message
            message.reset();
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.