Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.muse.ws.resource.properties.query.impl
Class XPathQueryExpression

    java.lang.Object
      org.apache.muse.ws.resource.properties.query.impl.XPathQueryExpression

All Implemented Interfaces:
  QueryExpression

public class XPathQueryExpression
extends java.lang.Object
implements QueryExpression

XPathQueryExpression is an implementation of query evaluations using XPath 1.0.

Author:
  Dan Jemiolo (danj)

Constructor Summary
`XPathQueryExpression()`

Method Summary
`org.w3c.dom.Node[]` | `evaluate(org.w3c.dom.Element wsrpDoc, java.lang.String query)`
`java.lang.String` | `getDialect()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XPathQueryExpression

    public XPathQueryExpression()

Method Detail

### evaluate

    public org.w3c.dom.Node[] evaluate(org.w3c.dom.Element wsrpDoc,
                                       java.lang.String query)
                                throws QueryEvaluationErrorFault

  Specified by:
    `evaluate` in interface `QueryExpression`
  Parameters:
    `wsrpDoc` - A resource's WSRP document.
    `query` - A query expression in the language described by getDialect().
  Returns:
    An array of nodes from the given document that match the query expression. The array may be empty.
  Throws:
    `QueryEvaluationErrorFault`

### getDialect

    public java.lang.String getDialect()

  Specified by:
    `getDialect` in interface `QueryExpression`
  Returns:
    The URI that defines the query language for this expression.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD