Class XPathParser

  extended by org.jboss.dna.jcr.xpath.XPathParser

public class XPathParser
extends Object

A component that parses an XPath query string and creates an abstract syntax tree representation. The supported grammar is defined by JCR 1.0, and is a subset of what is allowed by the W3C XPath 2.0 specification.

Nested Class Summary
static class XPathParser.XPathTokenizer
          A TokenStream.Tokenizer implementation that parses single- and double-quoted strings, symbols, words consisting of NCNames (as defined by the Namespaces in XML 1.0 specification), XPath comments,and other single-character tokens.
Constructor Summary
XPathParser(TypeSystem context)
Method Summary
 XPath.Component parseXPath(String xpath)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public XPathParser(TypeSystem context)
Method Detail


public XPath.Component parseXPath(String xpath)

Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.