public static DefaultHandler createHandler (Object owner, ExceptionListener el, ClassLoader cl)

Creates a new handler for SAX parser that can be used to parse embedded XML archives created by the XMLEncoder class. The owner should be used if parsed XML document contains the method call within context of the <java> element. The null value may cause illegal parsing in such case. The same problem may occur, if the owner class does not contain expected method to call. See details here.

Parameters:
owner    the owner of the default handler that can be used as a value of <java> element
el    the exception handler for the parser, or null to use the default exception handler
cl    the class loader used for instantiating objects, or null to use the default class loader

Returns:  an instance of DefaultHandler for SAX parser

Since:  1.7