public class ContentHandlerFactoryRegistry
extends java.lang.Object
Constructor and Description |
---|
ContentHandlerFactoryRegistry()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addContentHandlerFactory(ContentHandlerFactory factory)
Add an ContentHandlerFactory.
|
void |
addContentHandlerFactory(java.lang.String classname)
Add an XML handler.
|
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-2017 The Apache Software Foundation. All Rights Reserved.