org.jboss.dna.jcr.xpath
Class XPathParser
java.lang.Object
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
NCName s (as defined by the Namespaces in XML 1.0 specification), XPath comments,and
other single-character tokens. |
XPathParser
public XPathParser(TypeSystem context)
parseXPath
public XPath.Component parseXPath(String xpath)
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.