Class DOMBuilder

  • All Implemented Interfaces:
    ContentHandler, LexicalHandler

    @Deprecated(since="2022-01-27")
    public class DOMBuilder
    extends AbstractSAXPipe
    Deprecated.
    This API is deprecated, migrate code to the XML APIs provided by the JDK.
    The DOMBuilder is a utility class that will generate a W3C DOM Document from SAX events.
    • Constructor Detail

      • DOMBuilder

        public DOMBuilder()
        Deprecated.
        Construct a new instance of this DOMBuilder.
      • DOMBuilder

        public DOMBuilder​(SAXTransformerFactory factory)
        Deprecated.
        Construct a new instance of this DOMBuilder.
      • DOMBuilder

        public DOMBuilder​(DOMBuilder.Listener listener)
        Deprecated.
        Construct a new instance of this DOMBuilder.
      • DOMBuilder

        public DOMBuilder​(Node parentNode)
        Deprecated.
        Constructs a new instance that appends nodes to the given parent node.
        Note: You cannot use a Listener when appending to a Node, because the notification occurs at endDocument() which does not happen here.
      • DOMBuilder

        public DOMBuilder​(DOMBuilder.Listener listener,
                          Node parentNode)
        Deprecated.
        Construct a new instance of this DOMBuilder.