Examples of transform()


Examples of net.sf.autodao.QueryArgumentTransformer.transform()

    final QueryArgumentTransformer transformer = transformers.get(declaredArgType);
    if (transformer == null)
      return arg;

    return transformer.transform(arg);
  }

  @SuppressWarnings({ "unchecked", "rawtypes" })
  private static Object convertResult(final Finder finder, final List<Object> data) throws Exception {
    final Class<? extends Collection> returnAs = finder.returnAs();

Examples of net.sf.jmd.transformation.ITransformer.transform()

    private IModel transformModel(List<File> modelFiles, MoDi.Language language)
            throws MoDiException {

        ITransformer transformer = TransformerFactory.create(language);
        IModel result = transformer.transform(modelFiles);
        return result;
    }

    // evaluate_________________________________________________________________
    public IReport evaluate() {

Examples of net.sf.saxon.Controller.transform()

        }
        try {
            Controller transformer = createTransformer(templates);
            Source ss = new StreamSource(in);
            Result sr = new StreamResult(out);
            transformer.transform(ss, sr);
        } catch (TransformerException ex) {
            log("Failed to transform " + in, Project.MSG_INFO);
            if (out != null) {
                out.delete();
            }

Examples of net.sf.saxon.s9api.XsltTransformer.transform()

      out.setOutputProperty(Serializer.Property.METHOD, "xml");
      out.setOutputProperty(Serializer.Property.INDENT, "yes");
      XsltTransformer trans = exp.load();
      trans.setInitialContextNode(source);
      trans.setDestination(out);
      trans.transform();
    } catch (SaxonApiException e) {
      LogService.error(e.getMessage(), e);
    }
  }
}

Examples of net.sourceforge.rtf.IRTFDocumentTransformer.transform()

            * 5. Get the RTF velocity transformer
            */
            IRTFDocumentTransformer velocityTransformer =
                builder.
                newRTFDocumentTransformer(RTFTemplateBuilder.VELOCITY_TRANSFORMER);
            RTFDocument transformedDocument = velocityTransformer.transform(document, context);
           
            /**
             * 6. Display transformed RTFDocument
             */
            Reader reader = transformedDocument.getReader();

Examples of net.sourceforge.rtf.document.transformer.fields.IRTFFieldTransform.transform()

                             * ul\cf2\insrsid9655237\charrsid9655237
                             * mailto:$developers.Email } } }
                             */
                            IRTFFieldTransform hyperlinkTransform = getRTFFieldTransform(
                                    fieldName, fieldType, fieldIsImage);
                            hyperlinkTransform.transform(field, fieldIsList,
                                    this);
                            break;
                        case RTFField.FIELDTYPE_MERGEFIELD:
                            /*
                             * MERGEFIELD code RTF example : {\field\flddirty

Examples of net.sourceforge.segment.srx.SrxTransformer.transform()

   * @return initialized SRX document
   */
  public SrxDocument parse(Reader reader) {
    SrxTransformer transformer = new Srx1Transformer();
    Map<String, Object> parameterMap = Collections.emptyMap();
    Reader reader2 = transformer.transform(reader, parameterMap);
    SrxParser parser2 = new Srx2Parser();
    return parser2.parse(reader2);
  }

}

Examples of net.sourceforge.segment.srx.io.SrxAnyTransformer.transform()

    // If there are transformation parameters then separate transformation
    // is needed.
    if (parameterMap.size() > 0) {
      SrxTransformer transformer = new SrxAnyTransformer();
      srxReader = transformer.transform(srxReader, parameterMap);
    }

    SrxParser srxParser = new SrxAnyParser();
    SrxDocument document = srxParser.parse(srxReader);
    srxReader.close();

Examples of nexj.core.integration.Transformer.transform()

                  if (delete != null)
                  {
                     m_context.getMachine().invoke(delete, tobj, (Object[])null);
                  }

                  tobj = transformer.transform(tobj, transformation);
                  tobjList.add(tobj);
               }
               catch (Exception e)
               {
                  s_logger.error("Unable to seed resource \"" + sName + "\"", e);

Examples of nu.xom.xslt.XSLTransform.transform()

        try {
            Document doc = builder.build(args[0]);
            Document stylesheet = builder.build(args[1]);
            XSLTransform transform = new XSLTransform(stylesheet);          
           
            Nodes output = transform.transform(doc);
           
            for (int i = 0; i < output.size(); i++) {
                System.out.print(output.get(i).toXML());               
            }
            System.out.println();
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.