org.apache.ws.resource.properties.query.xpath.impl
Class JaxenXPathExpressionEvaluator

java.lang.Object
  extended byorg.apache.ws.resource.properties.query.xpath.AbstractXPathExpressionEvaluator
      extended byorg.apache.ws.resource.properties.query.xpath.impl.JaxenXPathExpressionEvaluator
All Implemented Interfaces:
ExpressionEvaluator

public class JaxenXPathExpressionEvaluator
extends AbstractXPathExpressionEvaluator

An XPath expression evaluator that utilizes the Jaxen XPath evaluation engine. LOG-DONE


Nested Class Summary
protected  class JaxenXPathExpressionEvaluator.JaxenNamespaceContext
           
 
Constructor Summary
JaxenXPathExpressionEvaluator()
           
 
Method Summary
protected  java.lang.Object evaluate(XPathExpression xpathExpr, org.w3c.dom.Node evalContextNode)
           
protected  java.lang.Object evaluate(XPathExpression expr, java.lang.Object evalContext)
          DOCUMENT_ME
protected  java.lang.Object evaluate(XPathExpression xpathExpr, ResourcePropertySet resourcePropSet)
          Creates a DOM representation of the specified resource property set and evaluates the specified expression against it.
 java.net.URI[] getSupportedDialects()
          DOCUMENT_ME
 java.lang.String toString()
          DOCUMENT_ME
 
Methods inherited from class org.apache.ws.resource.properties.query.xpath.AbstractXPathExpressionEvaluator
evaluate, evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaxenXPathExpressionEvaluator

public JaxenXPathExpressionEvaluator()
Method Detail

evaluate

protected java.lang.Object evaluate(XPathExpression expr,
                                    java.lang.Object evalContext)
                             throws UnknownQueryExpressionDialectException,
                                    QueryEvaluationErrorException,
                                    InvalidQueryExpressionException
Description copied from class: AbstractXPathExpressionEvaluator
DOCUMENT_ME

Specified by:
evaluate in class AbstractXPathExpressionEvaluator
Parameters:
expr - DOCUMENT_ME
evalContext - DOCUMENT_ME
Returns:
DOCUMENT_ME
Throws:
QueryEvaluationErrorException - DOCUMENT_ME
InvalidQueryExpressionException - DOCUMENT_ME
UnknownQueryExpressionDialectException - DOCUMENT_ME

evaluate

protected java.lang.Object evaluate(XPathExpression xpathExpr,
                                    ResourcePropertySet resourcePropSet)
                             throws UnknownQueryExpressionDialectException,
                                    QueryEvaluationErrorException,
                                    InvalidQueryExpressionException
Creates a DOM representation of the specified resource property set and evaluates the specified expression against it.

Specified by:
evaluate in class AbstractXPathExpressionEvaluator
Parameters:
xpathExpr - DOCUMENT_ME
resourcePropSet - DOCUMENT_ME
Returns:
DOCUMENT_ME
Throws:
UnknownQueryExpressionDialectException - DOCUMENT_ME
QueryEvaluationErrorException - DOCUMENT_ME
InvalidQueryExpressionException - DOCUMENT_ME
java.lang.IllegalArgumentException - DOCUMENT_ME
InvalidQueryExpressionFaultException - DOCUMENT_ME
QueryEvaluationErrorFaultException - DOCUMENT_ME

evaluate

protected java.lang.Object evaluate(XPathExpression xpathExpr,
                                    org.w3c.dom.Node evalContextNode)
                             throws UnknownQueryExpressionDialectException,
                                    QueryEvaluationErrorException,
                                    InvalidQueryExpressionException
Throws:
UnknownQueryExpressionDialectException
QueryEvaluationErrorException
InvalidQueryExpressionException

getSupportedDialects

public java.net.URI[] getSupportedDialects()
DOCUMENT_ME

Returns:
DOCUMENT_ME

toString

public java.lang.String toString()
DOCUMENT_ME

Returns:
DOCUMENT_ME


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.