org.globus.ogsa.impl.core.service
Class ServiceDataXPathEvaluator

java.lang.Object
  extended byorg.globus.ogsa.impl.core.service.ServiceDataNameEvaluator
      extended byorg.globus.ogsa.impl.core.service.ServiceDataXPathEvaluator
All Implemented Interfaces:
ExpressionEvaluator

public class ServiceDataXPathEvaluator
extends ServiceDataNameEvaluator

Evaluator supporting service data queries using Xalan-J XPathAPI against named elements of a service data set.


Constructor Summary
ServiceDataXPathEvaluator()
           
 
Method Summary
 java.lang.Object evaluate(ExtensibilityType extensibility, ServiceDataSet serviceDataSet)
          Evaluates the expression over a service data set and returns the result.
 QName[] getExpressionNames()
          Gets the QNames (as defined in the XML Schema of the expression) of top level expression elements that this evaluator can handle.
 QName[] getSDNames(ExtensibilityType extensibility)
          The Set of ServiceData names this expression acts on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDataXPathEvaluator

public ServiceDataXPathEvaluator()
Method Detail

getExpressionNames

public QName[] getExpressionNames()
Description copied from interface: ExpressionEvaluator
Gets the QNames (as defined in the XML Schema of the expression) of top level expression elements that this evaluator can handle.

Specified by:
getExpressionNames in interface ExpressionEvaluator
Overrides:
getExpressionNames in class ServiceDataNameEvaluator

evaluate

public java.lang.Object evaluate(ExtensibilityType extensibility,
                                 ServiceDataSet serviceDataSet)
                          throws FaultType
Description copied from interface: ExpressionEvaluator
Evaluates the expression over a service data set and returns the result.

Specified by:
evaluate in interface ExpressionEvaluator
Overrides:
evaluate in class ServiceDataNameEvaluator
Throws:
FaultType

getSDNames

public QName[] getSDNames(ExtensibilityType extensibility)
                   throws FaultType
The Set of ServiceData names this expression acts on.

Specified by:
getSDNames in interface ExpressionEvaluator
Overrides:
getSDNames in class ServiceDataNameEvaluator
Returns:
Set of QNames of the ServiceData.
Throws:
FaultType