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

Examples of org.apache.ode.bpel.compiler.v2.xpath10.JaxenBpelHandler


    public void setUp() throws Exception {
        _vars = new HashMap<String, Node>();
        _cc = new MockCompilerContext();
        _runtime = new XPath20ExpressionRuntime();      
        _runtime.initialize(new HashMap());
        _compiler = new XPath20ExpressionCompilerBPEL20();
        _compiler.setCompilerContext(_cc);
       
        _vardoc = DOMUtils.parse(getClass().getResourceAsStream("/xpath20/variables.xml"));
        NodeList variables = _vardoc.getDocumentElement().getChildNodes();
        for (int i = 0; i < variables.getLength(); ++i) {
View Full Code Here


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

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

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

  public void testEmptyXPath20StringBPEL20Draft() throws Exception {
    XPath20ExpressionCompilerBPEL20Draft compiler = new XPath20ExpressionCompilerBPEL20Draft();
    assertCompilationExceptionForEmptyXPath(compiler);
  }
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

    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

        }
    }

    private Object evaluate(OExpression cexp, EvaluationContext ctx, QName type) throws FaultException {
        try {
            OXPath10Expression oxpath = (OXPath10Expression) cexp;
            __log.debug("JAXP runtime: evaluating " + oxpath.xpath);
            // use default XPath implementation
            XPathFactory xpf = XPathFactory.newInstance();
            __log.debug("JAXP runtime: XPathFactory impl = " + xpf.getClass());
            XPath xpe = xpf.newXPath();
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

    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

TOP

Related Classes of org.apache.ode.bpel.compiler.v2.xpath10.JaxenBpelHandler

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.