com.evolvedbinary.xpath.parser
Class XPathUtil
java.lang.Object
com.evolvedbinary.xpath.parser.XPathUtil
public class XPathUtil
- extends Object
Simple utility class showing how to use
the XPathParser
Created by aretter on 16/03/2016.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathUtil
public XPathUtil()
main
public static final void main(String[] args)
parseXPath
public static Expr parseXPath(String xpath,
PrintStream out,
PrintStream err)
- Parses an XPath Expression and generates an AST
- Parameters:
xpath - The XPath to parseout - Either a print stream for receiving a debug print of the NodeTree generated by the parser, or null otherwiseerr - Either a print stream for receiving errors that occurred during parsing or null otherwise
- Returns:
- An
Expr which is the root of the generated AST
Copyright © 2016 Evolved Binary Ltd.. All Rights Reserved.