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