Modifier | Constructor and Description |
---|---|
private |
ParserFactory() |
Modifier and Type | Method and Description |
---|---|
static Parser |
newInstance(Query.Type type,
ParserEnvironment environment)
Creates a
Parser appropriate for the given Query.Type, providing the Parser with access to
the ParserEnvironment given. |
public static Parser newInstance(Query.Type type, ParserEnvironment environment)
Parser
appropriate for the given Query.Type, providing the Parser with access to
the ParserEnvironment
given.type
- the query type for which to create a Parserenvironment
- the environment settings to attach to the ParserCopyright © 2018. All rights reserved.