public class Parser
extends java.lang.Object
| Constructor and Description |
|---|
Parser(QueryObjectModelFactory factory,
ValueFactory valueFactory)
Create a new parser.
|
| Modifier and Type | Method and Description |
|---|---|
QueryObjectModel |
createQueryObjectModel(java.lang.String query)
Parse a JCR-SQL2 query and return the query object model
|
public Parser(QueryObjectModelFactory factory, ValueFactory valueFactory)
factory - the query object model factoryvalueFactory - the value factorypublic QueryObjectModel createQueryObjectModel(java.lang.String query) throws RepositoryException
query - the query stringRepositoryException - if parsing failedCopyright © 2010 - 2023 Adobe. All Rights Reserved