jd.xml.xslt.extension
Class ExtensionHandlerFactory

java.lang.Object
  extended byjd.xml.xslt.extension.ExtensionHandlerFactory

public abstract class ExtensionHandlerFactory
extends Object

A Factory for ExtensionHandlers.


Constructor Summary
ExtensionHandlerFactory()
           
 
Method Summary
static ExtensionHandler create(String namespaceUri)
          Create a ExtensionHandler for a namespaceUri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionHandlerFactory

public ExtensionHandlerFactory()
Method Detail

create

public static ExtensionHandler create(String namespaceUri)
Create a ExtensionHandler for a namespaceUri. First the factory matches the namespaceUri is against the namespaces of the built in ExtensionHandlers. If no match is found the factory tries to extract the class of a ExtensionHandler from the uri (according the scheme uri = [any string]/[class name]). If this fails null is returned.