コード例 #1
0
        /// <summary inherit="yes"/>

        public override JResult GetResult()
        {
            DotNetReceiver dnr = new DotNetReceiver(writer);

            dnr.setCloseAfterUse(closeAfterUse);
            return(dnr);
            //[email protected] filter = new [email protected]();
            //filter.setUnderlyingReceiver(dnr);
            //return filter;
        }
コード例 #2
0
        /// <summary inherit="yes"/>
        /// Return a Receiver. Saxon calls this method to obtain a Java Receiver, 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">JPipelineConfiguration. The Saxon configuration. 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 Receiver.</param>
        public override JReceiver GetReceiver(JPipelineConfiguration pipe)
        {
            DotNetReceiver dnr = new DotNetReceiver(writer);

            dnr.setPipelineConfiguration(pipe);
            dnr.setCloseAfterUse(closeAfterUse);
            return(dnr);
            //[email protected] filter = new [email protected]();
            //filter.setUnderlyingReceiver(dnr);
            //return filter;
        }
コード例 #3
0
ファイル: Destination.cs プロジェクト: nuxleus/saxonica
        /// <summary inherit="yes"/>

        public override JResult GetResult(JPipelineConfiguration pipe)
        {
            DotNetReceiver dnr = new DotNetReceiver(writer);
            dnr.setCloseAfterUse(closeAfterUse);
            return dnr;
            //[email protected] filter = new [email protected]();
            //filter.setUnderlyingReceiver(dnr);
            //return filter;
        }