/// <summary> /// Return a <c>Receiver</c>. Saxon calls this method to obtain a Java <c>Receiver</c>, to which it then sends /// a sequence of events representing the content of an XML document. The method is intended /// primarily for internal use, and may give poor diagnostics if used incorrectly. /// </summary> /// <returns>The receiver</returns> /// <param name="pipe">The Saxon configuration as a <c>JPipelineConfiguration</c>. /// This is supplied so that the destination can /// use information from the configuration (for example, a reference to the name pool) /// to construct or configure the returned <c>Receiver</c>.</param> public JReceiver GetReceiver(JPipelineConfiguration pipe, JSerializationProperties params1) { JDotNetReceiver dnr = new JDotNetReceiver(writer); dnr.setPipelineConfiguration(pipe); dnr.setCloseAfterUse(closeAfterUse); return(params1.makeSequenceNormalizer(dnr)); }
/// <summary> /// Return a <c>Receiver</c>. Saxon calls this method to obtain a Java <c>Receiver</c>, to which it then sends /// a sequence of events representing the content of an XML document. The method is intended /// primarily for internal use, and may give poor diagnostics if used incorrectly. /// </summary> /// <returns>The receiver</returns> /// <param name="pipe">The Saxon configuration as a <c>JPipelineConfiguration</c>. /// This is supplied so that the destination can /// use information from the configuration (for example, a reference to the name pool) /// to construct or configure the returned <c>Receiver</c>.</param> public override JReceiver getReceiver(JPipelineConfiguration pipe, JSerializationProperties value2) { return(GetReceiver(pipe, value2)); }