public class ContentHandlerFactoryRegistry
extends java.lang.Object
Constructor | Description |
---|---|
ContentHandlerFactoryRegistry() |
Default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addContentHandlerFactory(java.lang.String classname) |
Add an XML handler.
|
void |
addContentHandlerFactory(ContentHandlerFactory factory) |
Add an ContentHandlerFactory.
|
ContentHandlerFactory |
getFactory(java.lang.String namespaceURI) |
Retrieves a ContentHandlerFactory instance of a given namespace URI.
|
public ContentHandlerFactoryRegistry()
public void addContentHandlerFactory(java.lang.String classname)
classname
- the fully qualified class namepublic void addContentHandlerFactory(ContentHandlerFactory factory)
factory
- the ContentHandlerFactory instancepublic ContentHandlerFactory getFactory(java.lang.String namespaceURI)
namespaceURI
- the namespace to be handled.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.