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

Examples of org.apache.ode.bpel.compiler.v1.xpath10.XPath10ExpressionCompilerImpl


        XslTransformHandler.getInstance().setTransformerFactory(trsf);
    }

    public void setCompilerContext(CompilerContext compilerContext) {
        _compilerContext = compilerContext;
        XslCompilationErrorListener xe = new XslCompilationErrorListener(compilerContext);
        XslTransformHandler.getInstance().setErrorListener(xe);
    }
View Full Code Here


        XslTransformHandler.getInstance().setTransformerFactory(trsf);
    }

    public void setCompilerContext(CompilerContext compilerContext) {
        _compilerContext = compilerContext;
        XslCompilationErrorListener xe = new XslCompilationErrorListener(compilerContext);
        XslTransformHandler.getInstance().setErrorListener(xe);
    }
View Full Code Here

            String xslUri = (String) params.get(0);
            OXslSheet xslSheet = _cctx.compileXslt(xslUri);
            try {
                XslTransformHandler.getInstance().parseXSLSheet(_cctx.getBaseResourceURI(), xslSheet.uri,
                    xslSheet.sheetBody, new XslCompileUriResolver(_cctx, _out));
            } catch (Exception e) {
                throw new CompilationException(__msgs.errXslCompilation(xslUri, e.toString()));
            }

            _out.xslSheets.put(xslSheet.uri, xslSheet);
View Full Code Here

            String xslUri = (String) params.get(0);
            OXslSheet xslSheet = _cctx.compileXslt(xslUri);
            try {
                XslTransformHandler.getInstance().parseXSLSheet(_cctx.getBaseResourceURI(), xslSheet.uri, xslSheet.sheetBody,
                        new XslCompileUriResolver(_cctx, _out));
            } catch (Exception e) {
                throw new CompilationException(__msgs.errXslCompilation(xslUri, e.toString()));
            }

            _out.xslSheets.put(xslSheet.uri, xslSheet);
View Full Code Here

        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) {
            __log
                .warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
            registerExpressionLanguage(EXPLANG_XPATH, new JaxpXPath10ExpressionCompilerBPEL11());
        }
    }
View Full Code Here

        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) {
            __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,
                "org.apache.ode.bpel.compiler.v2.xpath20.XPath20ExpressionCompilerBPEL20");
        } catch (Exception e) {
View Full Code Here

        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) {
            __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,
                "org.apache.ode.bpel.compiler.v2.xpath20.XPath20ExpressionCompilerBPEL20Draft");
        } catch (Exception e) {
View Full Code Here

  /**
   * @see org.apache.ode.bpel.compiler.v1.ExpressionCompiler#compile(java.lang.Object)
   */
  public OExpression compile(Object source) throws CompilationException {
    Expression xpath = (Expression)source;
    OXPath10Expression oexp = new OXPath10Expression(
            _compilerContext.getOProcess(),
            _qnFnGetVariableData,
            _qnFnGetVariableProperty,
            _qnFnGetLinkStatus);
    oexp.namespaceCtx = xpath.getNamespaceContext();
View Full Code Here

    public OLValueExpression compileLValue(Object source) throws CompilationException {
        return (OLValueExpression)_compile((Expression)source, false);
    }

    private OExpression _compile(Expression xpath, boolean isJoinCondition) throws CompilationException {
        OXPath10Expression oexp = new OXPath10ExpressionBPEL20(
                _compilerContext.getOProcess(),
                _qnFnGetVariableData,
                _qnFnGetVariableProperty,
                _qnFnGetLinkStatus,
                _qnDoXslTransform,
View Full Code Here

  /**
   * @see org.apache.ode.bpel.compiler.v1.api.ExpressionCompiler#compile(java.lang.Object)
   */
  public OExpression compile(Object source) throws CompilationException {
    Expression xpath = (Expression)source;
    OXPath10Expression oexp = new OXPath10Expression(
            _compilerContext.getOProcess(),
            _qnFnGetVariableData,
            _qnFnGetVariableProperty,
            _qnFnGetLinkStatus);
    oexp.namespaceCtx = xpath.getNamespaceContext();
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.compiler.v1.xpath10.XPath10ExpressionCompilerImpl

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.