public class DOMBuilderContentHandlerFactory extends Object implements ContentHandlerFactory
ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource
Constructor and Description |
---|
DOMBuilderContentHandlerFactory(String namespaceURI,
DOMImplementation domImplementation)
Main Constructor
|
Modifier and Type | Method and Description |
---|---|
ContentHandler |
createContentHandler() |
String[] |
getSupportedNamespaces() |
public DOMBuilderContentHandlerFactory(String namespaceURI, DOMImplementation domImplementation)
namespaceURI
- the main namespace URI for the DOM to be parseddomImplementation
- the DOMImplementation to use for build the DOMpublic String[] getSupportedNamespaces()
getSupportedNamespaces
in interface ContentHandlerFactory
public ContentHandler createContentHandler() throws SAXException
createContentHandler
in interface ContentHandlerFactory
SAXException
- if there's an error while preparing the ContentHandlerCopyright © 2025 Apache Software Foundation. All rights reserved.