Usage
To create a DirectiveParserStrategyIfc
to use in conjunction
with org.jplate.tmplate.parser.JPlateParser
, please perform
the following:
final DirectiveParserStrategyFactoryMgrIfc factoryMgr = DirectiveParserStrategyFactoryMgr.getSingleton (); final DirectiveParserStrategyFactoryIfc factory = factoryMgr.getFactory ( <some class> ); // // To use the default directive cache creation process, perform the // the following... // final DirectiveParserStrategyIfc parserStrategy = factory.createDirectiveParserStrategy (); // // To create using a previously created directive cache dc, perform the // following... // final DirectiveParserStrategyIfc parserStrategy1 = factory.createDirectiveParserStrategy ( dc ); // // Process using parserStrategy or parserStrategy1... //Please note: Above
<some class>
is listed as
a parameter to factoryMgr.getFactory ()
. Supply an actual
java.lang.Class
to this method!
@see org.jplate.tmplate.parser