Class ActiveDOMSource

    • Constructor Detail

      • ActiveDOMSource

        public ActiveDOMSource​(Node node,
                               String systemId)
      • ActiveDOMSource

        public ActiveDOMSource​(DOMSource source)
        Construct an ActiveDOMSource from a DOMSource
        Parameters:
        source - the input source object, whose properties are copied.
    • Method Detail

      • deliver

        public void deliver​(Receiver receiver,
                            ParseOptions options)
                     throws XPathException
        Description copied from interface: ActiveSource
        Deliver the content of the source to a supplied Receiver.

        For many (but not all) implementations of Source, this method consumes the source and can therefore only be called once.

        Specified by:
        deliver in interface ActiveSource
        Parameters:
        receiver - the receiver to which events representing the parsed XML document will be sent
        options - options for parsing the source
        Throws:
        XPathException - if parsing fails for any reason. The detailed diagnostics will have been sent to the error reporter.