Class w3c.jigsaw.formedit.FormHelperRegistery
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.formedit.FormHelperRegistery

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

public class FormHelperRegistery
extends Object
The form help registery keeps track of the helper editors.

Constructor Index

 o FormHelperRegistery()

Method Index

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

Constructors

 o FormHelperRegistery
  public FormHelperRegistery()

Methods

 o 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).
 o 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