Package org.apache.ode.bpel.compiler.v1.xpath10.jaxp

Examples of org.apache.ode.bpel.compiler.v1.xpath10.jaxp.JaxpXPath10ExpressionCompilerBPEL20


            } else if (Constants.NON_STDRD_FUNCTION_DELETE.equals(localName)) {
              return new Delete();
            } else if (Constants.NON_STDRD_FUNCTION_RENAME.equals(localName)) {
              return new Rename();
            } else if (Constants.NON_STDRD_FUNCTION_PROCESS_PROPERTY.equals(localName)) {
              return new ProcessProperty();
            }
        }

        return null;
    }
View Full Code Here


            __log
                .warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new JaxpXPath10ExpressionCompilerBPEL20());
        }
        try {
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_2_0, new XPath20ExpressionCompilerBPEL20());
        } catch (Exception e) {
            __log.error("Error loading XPath 2.0 Expression Language: it will not be available.");
        } catch (NoClassDefFoundError e) {
            __log.error("Error loading XPath 2.0 Expression Language: it will not be available.");
        }
View Full Code Here

            __log
                .warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new JaxpXPath10ExpressionCompilerBPEL20Draft());
        }
        try {
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_2_0, new XPath20ExpressionCompilerBPEL20Draft());
        } catch (Exception e) {
            __log.error("Error loading XPath 2.0 Expression Language: it will not be available.");
        } catch (NoClassDefFoundError e) {
            __log.error("Error loading XPath 2.0 Expression Language: it will not be available.");
        }
View Full Code Here

        registerActivityCompiler(TerminateActivity.class, new TerminateGenerator());

        // try to instantiate Jaxen based XPath 1.0 expression language compiler.
        // if this fails (e.g. because Jaxen is not in classpath), use a pure JAXP based one as fallback.
        try {
            registerExpressionLanguage(EXPLANG_XPATH, new XPath10ExpressionCompilerBPEL11());
        } catch (Exception e) {
            __log
                .warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
            registerExpressionLanguage(EXPLANG_XPATH, new JaxpXPath10ExpressionCompilerBPEL11());
        } catch (NoClassDefFoundError e) {
View Full Code Here

  protected void tearDown() throws Exception {
    super.tearDown();
  }

  public void testEmptyXPath10StringBPEL11() throws Exception {
    XPath10ExpressionCompilerBPEL11 compiler = new XPath10ExpressionCompilerBPEL11();
    assertCompilationExceptionForEmptyXPath(compiler);
  }
View Full Code Here

        registerActivityCompiler(ExtensionActivity.class, new ExtensionActivtityGenerator());

        // try to instantiate Jaxen based XPath 1.0 expression language compiler.
        // if this fails (e.g. because Jaxen is not in classpath), use a pure JAXP based one as fallback.
        try {
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new XPath10ExpressionCompilerBPEL20());
        } catch (Exception e) {
            __log
                .warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new JaxpXPath10ExpressionCompilerBPEL20());
        } catch (NoClassDefFoundError e) {
View Full Code Here

    XPath10ExpressionCompilerBPEL20Draft compiler = new XPath10ExpressionCompilerBPEL20Draft();
    assertCompilationExceptionForEmptyXPath(compiler);
  }

  public void testEmptyXPath10StringBPEL20() throws Exception {
    XPath10ExpressionCompilerBPEL20 compiler = new XPath10ExpressionCompilerBPEL20();
    assertCompilationExceptionForEmptyXPath(compiler);
  }
View Full Code Here

        registerActivityCompiler(ExtensionActivity.class, new ExtensionActivtityGenerator());

        // try to instantiate Jaxen based XPath 1.0 expression language compiler.
        // if this fails (e.g. because Jaxen is not in classpath), use a pure JAXP based one as fallback.
        try {
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new XPath10ExpressionCompilerBPEL20Draft());
        } catch (Exception e) {
            __log
                .warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
            registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new JaxpXPath10ExpressionCompilerBPEL20Draft());
        } catch (NoClassDefFoundError e) {
View Full Code Here

    XPath10ExpressionCompilerBPEL11 compiler = new XPath10ExpressionCompilerBPEL11();
    assertCompilationExceptionForEmptyXPath(compiler);
  }

  public void testEmptyXPath10StringBPEL20Draft() throws Exception {
    XPath10ExpressionCompilerBPEL20Draft compiler = new XPath10ExpressionCompilerBPEL20Draft();
    assertCompilationExceptionForEmptyXPath(compiler);
  }
View Full Code Here

    }

    @Override
    public void setCompilerContext(CompilerContext ctx) {
        super.setCompilerContext(ctx);
        XslCompilationErrorListener xe = new XslCompilationErrorListener(ctx);
        XslTransformHandler.getInstance().setErrorListener(xe);
    }
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.compiler.v1.xpath10.jaxp.JaxpXPath10ExpressionCompilerBPEL20

Copyright © 2018 www.massapicom. 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.