public class DOMBuilderContentHandlerFactory extends java.lang.Object implements ContentHandlerFactory
ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource| Constructor and Description |
|---|
DOMBuilderContentHandlerFactory(java.lang.String namespaceURI,
org.w3c.dom.DOMImplementation domImplementation)
Main Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.ContentHandler |
createContentHandler() |
java.lang.String[] |
getSupportedNamespaces() |
public DOMBuilderContentHandlerFactory(java.lang.String namespaceURI,
org.w3c.dom.DOMImplementation domImplementation)
namespaceURI - the main namespace URI for the DOM to be parseddomImplementation - the DOMImplementation to use for build the DOMpublic java.lang.String[] getSupportedNamespaces()
getSupportedNamespaces in interface ContentHandlerFactorypublic org.xml.sax.ContentHandler createContentHandler()
throws org.xml.sax.SAXException
createContentHandler in interface ContentHandlerFactoryorg.xml.sax.SAXException - if there's an error while preparing the ContentHandlerCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.