Examples of transform()


Examples of com.sun.media.sound.ModelStandardTransform.transform()

    transform.setTransform(ModelStandardTransform.TRANSFORM_LINEAR);
    assertTrue(checkLinearity(transform));
   
    transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
    transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
    assertTrue(Math.abs(transform.transform(0.2f) - 0.2f) < 0.0001f);
    assertTrue(Math.abs(transform.transform(0.8f) - 0.8f) < 0.0001f);
   
    transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);   
    transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
    assertTrue(Math.abs(transform.transform(0.2f) - 0.8f) < 0.0001f);

Examples of com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform()

            tohFactory.setOutputType(TransletOutputHandlerFactory.STREAM);
            tohFactory.setEncoding(translet._encoding);
            tohFactory.setOutputMethod(translet._method);

            if (_iterations == -1) {
                translet.transform(dom, tohFactory.getSerializationHandler());
            }
            else if (_iterations > 0) {
                long mm = System.currentTimeMillis();
                for (int i = 0; i < _iterations; i++) {
                    translet.transform(dom,

Examples of com.sun.tools.internal.xjc.reader.internalizer.DOMForest.transform()

                        null,
                        value.getSystemId(),
                        -1, -1));
        }

        scdBasedBindingSet = forest.transform(opt.isExtensionMode());

        return forest;
    }

    private String fixNull(String s) {

Examples of com.sun.tools.xjc.reader.internalizer.DOMForest.transform()

                        null,
                        value.getSystemId(),
                        -1, -1));
        }

        scdBasedBindingSet = forest.transform(opt.isExtensionMode());

        return forest;
    }

    private String fixNull(String s) {

Examples of com.swabunga.spell.engine.Transformator.transform()

   
    System.out.println("reading...");
    List list = new ArrayList();
    String word;
    while ((word = r.readLine()) != null) {
      String code = t.transform(word);
      if (!"".equals(code))
        list.add(new CodeAndWord(code,word));
      wordCount++;
    }
    r.close();

Examples of com.vividsolutions.jts.geom.util.AffineTransformation.transform()

        Geometry shell0 = (Geometry)as.getShell().clone();
        Envelope env0 = shell0.getEnvelopeInternal();
       
        AffineTransformation t;
        t = AffineTransformation.translationInstance(-env0.getMinX(), -env0.getMinY());
        shell0 = t.transform(shell0);
        env0 = shell0.getEnvelopeInternal();
       
        Geometry shell1 = (Geometry)shell0.clone();
        t = AffineTransformation.translationInstance(env0.getWidth(), lineHeight - env0.getHeight());
        shell1 = t.transform(shell1);

Examples of com.volantis.mcs.protocols.DOMTransformer.transform()

            // Useful debug output

//        System.out.println("Original DOM:");
//        System.out.println(DOMUtilities.toString(dom, protocol.getCharacterEncoder()));

            dom = transformer.transform(protocol, dom);

            // Useful debug output

//        System.out.println("Transformed DOM:");
//        System.out.println(DOMUtilities.toString(dom, protocol.getCharacterEncoder()));

Examples of com.volantis.mcs.protocols.DeferredInheritTransformer.transform()

     */
    protected void generateCSS() throws IOException {

        DeferredInheritTransformer transformer =
                new DeferredInheritTransformer();
        document = transformer.transform(this, document);

        StyledDOMThemeExtractorFactory factory =
            StyledDOMThemeExtractorFactory.getDefaultInstance();

        final ExtractorConfiguration configuration =

Examples of com.volantis.mcs.protocols.TransformingVisitor.transform()

        String input =
                "<b>textA <strong>txt-2</strong> textE <strong>txt-5</strong> a <strong>txt-5</strong> </b>";

        XMLReader reader = DOMUtilities.getReader();
        Document dom = DOMUtilities.read(reader, input);
        visitor.transform(dom);

        String actual = DOMUtilities.toString(dom);

        String expected =
                "<b>textA<strong> txt-2 </strong>textE<strong> txt-5 </strong>a<strong> txt-5 </strong></b>";

Examples of com.volantis.mcs.protocols.trans.NullRemovingDOMTransformer.transform()

        Document transformedDOM = transformer.transform(protocol, originalDOM);

        // In actual operation this transformer would form a compound
        // transformer with the NullRemovingDOMTransformer.
        NullRemovingDOMTransformer nullRemover = new NullRemovingDOMTransformer();
        nullRemover.transform(null, transformedDOM);

        final String expectedXML = helper.render(expectedDOM);
        final String actualXML = helper.render(transformedDOM);

        boolean failed = true;
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.