This package provides the implementation of the named directive definition as well as functionality to create instances. A named directive definition simply associates a textual name (java.lang.String) with a named directive (a 1 to 1 mapping).

Usage

To create an instance of org.jplate.tmplate.directive.NamedDirectiveDefIfc, please do the following (assume klass, name and namedDirective have been instantiated):

    //
    // Assume klass, name and namedDirective instantiated before this point...
    //
    final NamedDirectiveDefFactoryMgrIfc factoryMgr =
        NamedDirectiveDefFactoryMgrIfc.getSingleton ();

    final NamedDirectiveDefFactoryIfc factory = factoryMgr.getFactory ( klass );

    final NamedDirectiveDefIfc namedDirectiveDef =
        factory.createNamedDirectiveDef ( name, namedDirective );
@see org.jplate.tmplate.directive.NamedDirectiveDefIfc