Creates an instance of a data handler.
Syntax
public static DataHandler createHandler(String className, String mimeType, String BOPrefix);
Parameters
Return values
An instance of a data handler.
Exceptions
Notes
This method creates an instance of a data handler based on the values of its className, mimeType, and BOPrefix parameters:
The method checks the top-level data-handler meta-object for an attribute whose name matches the content type of either the mimeType parameter or the mimeType and BOPrefix combination. If a matching attribute is found, the value of the ClassName attribute in the child meta-object is used as the class name.
If the method succeeds in instantiating a class for the data handler, it calls setupOptions() to set up the configuration properties for use by the data handler instance. For a complete description of how createHandler() instantiates a data handler, see Data handler instantiation.
For example, for MIME = "text/xml-application-xxx", the method loads the com.crossworlds.DataHandlers.text.xml_application_xxx class.