    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.formedit.FormHelperRegistry

    java.lang.Object
       |
       +----w3c.jigsaw.formedit.FormHelperRegistry

public class FormHelperRegistry
extends Object

The form help registery keeps track of the helper editors.

##

FormHelperRegistry()

##

getHelper(Resource)
  Look for a help object to edit the given resource.
registerHelper(String, String)
  Register a helper editor for the given class.

##

FormHelperRegistry

      public FormHelperRegistry()

##

registerHelper

      public static synchronized void registerHelper(String cls,
                                                     String helper)

  Register a helper editor for the given class.
  Parameters:
    cls - The class you wich to define a helper for.
    helper - The editor helper (wich must conform to the FormEditorHelper interface).

getHelper

      public static synchronized FormEditorHelper getHelper(Resource resource)

  Look for a help object to edit the given resource.
  Parameters:
    resource - The resource to be edited.
  Returns:
    An initialized FormEditorHelper instance, or null if none was found.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index