Package org.springframework.integration.xquery.core

Examples of org.springframework.integration.xquery.core.XQueryExecutor.afterPropertiesSet()


   * @return
   */
  private XQueryExecutor getExecutor(String xQuery) {
    XQueryExecutor executor = new XQueryExecutor();
    executor.setXQuery(xQuery);
    executor.afterPropertiesSet();
    return executor;
  }

}
View Full Code Here


    XQueryTransformer transformer = new XQueryTransformer();
    XQueryExecutor executor = new XQueryExecutor();
    executor.setXQueryFileResource(
        new ClassPathResource("org/springframework/integration/xquery/XQueryTransform.xq"));
    executor.setFormatOutput(true);
    executor.afterPropertiesSet();
    transformer.setExecutor(executor);
    transformer.afterPropertiesSet();
    try {
      Object transformed = transformer.doTransform(MessageBuilder.withPayload(inputXml).build());
      Assert.assertNotNull(transformed);
View Full Code Here

   * @return
   */
  private XQueryExecutor getExecutor(String xQuery) {
    XQueryExecutor executor = new XQueryExecutor();
    executor.setXQuery(xQuery);
    executor.afterPropertiesSet();
    return executor;
  }
}
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.