Package org.apache.servicemix.expression

Examples of org.apache.servicemix.expression.JAXPBooleanXPathExpression


    public NormalizedMessage getInternalMessage() {
        return this.message;
    }
   
    public boolean xpath(String xpath) throws Exception {
        JAXPBooleanXPathExpression expression = new JAXPBooleanXPathExpression(xpath);
        if (this.namespaceContext != null) {
            expression.setNamespaceContext(this.namespaceContext);
        }
        Boolean b = (Boolean) expression.evaluate(null, message);
        return b.booleanValue();
    }
View Full Code Here


    public NormalizedMessage getInternalMessage() {
        return this.message;
    }
   
    public boolean xpath(String xpath) throws Exception {
        JAXPBooleanXPathExpression expression = new JAXPBooleanXPathExpression(xpath);
        Boolean b = (Boolean) expression.evaluate(null, message);
        return b.booleanValue();
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.expression.JAXPBooleanXPathExpression

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.