Пример #1
0
        /// <summary inherit="yes"/>

        public override JResult GetResult()
        {
            builder = (treeModel == TreeModel.TinyTree ? (JBuilder) new JTinyBuilder() : (JBuilder) new JTreeBuilder());
            if (baseUri != null)
            {
                builder.setBaseURI(baseUri.ToString());
            }
            return(builder);
        }
Пример #2
0
        /// <summary inherit="yes"/>

        public override JResult GetResult(JPipelineConfiguration pipe)
        {
            builder = (treeModel == TreeModel.TinyTree ? (JBuilder) new JTinyBuilder(pipe) : (JBuilder) new JLinkedTreeBuilder(pipe));
            if (baseUri != null)
            {
                builder.setBaseURI(baseUri.ToString());
            }
            return(builder);
        }
Пример #3
0
        /// <summary>Reset the state of the <c>XdmDestination</c> so that it can be used to hold
        /// the result of another query or transformation.</summary>

        public void Reset()
        {
            builder = null;
        }
Пример #4
0
        /// <summary inherit="yes"/>

        public override JResult GetResult(JPipelineConfiguration pipe)
        {
            builder = (treeModel == TreeModel.TinyTree ? (JBuilder)new JTinyBuilder(pipe) : (JBuilder)new JLinkedTreeBuilder(pipe));
            if (baseUri != null)
            {
                builder.setBaseURI(baseUri.ToString());
            }
            return builder;
        }
Пример #5
0
        /// <summary>Reset the state of the <c>XdmDestination</c> so that it can be used to hold
        /// the result of another query or transformation.</summary>

        public void Reset()
        {
            builder = null;
        }