Package | org.spicefactory.parsley.context |
Class | public class DefaultMetadataTags |
Inheritance | DefaultMetadataTags Object |
install
method gets called by the various entry points for Context building. To disable the default set
of metadata tags the disable
method has to be called before creating the first Context.
Method | Defined By | ||
---|---|---|---|
disable():void [static]
Disables all of the tags in the set of built-in metadata tags. | DefaultMetadataTags | ||
install():void [static]
Installs the default set of metadata tags. | DefaultMetadataTags |
disable | () | method |
public static function disable():void
Disables all of the tags in the set of built-in metadata tags. This method has to be called before creating the first Context. Individual sets of the default tags can then get enabled again, either through their API or their MXML initializer tag. For injection for example it would be the InjectMetadataSupport MXML tag which can be used as a child of the ContextBuilder tag.
install | () | method |
public static function install():void
Installs the default set of metadata tags. Since these tags are opt-out, not opt-in, there is no need for application code to call this method. The various entry points for Context building will automatically call this method.