Package org.eclipse.wst.xml.xpath2.api


org.eclipse.wst.xml.xpath2.api
Class XPath2Engine



public class XPath2Engine
extends 
Main API for the XPath2 processor.


Method Summary

public org.eclipse.wst.xml.xpath2.api.XPath2ExpressionparseExpression(java.lang.String expression , org.eclipse.wst.xml.xpath2.api.StaticContext context)
     Parse a full XPath2 expression and type check it against the static context (if it provides a type model to check against)

Methods Detail

parseExpression

public org.eclipse.wst.xml.xpath2.api.XPath2Expression parseExpression(java.lang.String expression , org.eclipse.wst.xml.xpath2.api.StaticContext context)

Parse a full XPath2 expression and type check it against the static context (if it provides a type model to check against)

Parameters

expression - String representation of XPath2 expression

context - Static context for the expression.

Returns

org.eclipse.wst.xml.xpath2.api.XPath2Expression - A compiled expression.