[Java] Class ParserPluginFactory
- org.codehaus.groovy.control.ParserPluginFactory
A factory of parser plugin instances
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
ParserPlugin |
createParserPlugin() | |
static ParserPluginFactory |
newInstance(boolean useNewParser) Creates a new instance of ParserPluginFactory. | |
static ParserPluginFactory |
newInstance() Creates a new instance of ParserPluginFactory. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public ParserPlugin createParserPlugin()
@Deprecated public static ParserPluginFactory newInstance(boolean useNewParser)
Creates a new instance of ParserPluginFactory.
The useNewParser
parameter is not used, and this method is kept for backward compatibility.
- deprecated:
- use newInstance()
- Parameters:
-
useNewParser
- unused.
- Returns:
- the new parser factory.
public static ParserPluginFactory newInstance()
Creates a new instance of ParserPluginFactory.
- Returns:
- the new parser factory.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/control/ParserPluginFactory.html