Ejemplo n.º 1
0
        /// <summary>
        /// Greater than or equal to operation on the values of the arguments.
        /// </summary>
        /// <param name="args">
        ///            input arguments. </param>
        /// <param name="dc"> </param>
        /// <exception cref="DynamicError">
        ///             Dynamic error. </exception>
        /// <returns> Result of the operation. </returns>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static org.eclipse.wst.xml.xpath2.api.ResultSequence fs_ge_value(java.util.Collection args, org.eclipse.wst.xml.xpath2.api.DynamicContext dc) throws org.eclipse.wst.xml.xpath2.processor.DynamicError
        public static ResultSequence fs_ge_value(ICollection args, DynamicContext dc)
        {
            ResultSequence greater = FsGt.fs_gt_value(args, dc);

            if (((XSBoolean)greater.first()).value())
            {
                return(greater);
            }

            ResultSequence equal = FsEq.fs_eq_value(args, dc);

            if (((XSBoolean)equal.first()).value())
            {
                return(equal);
            }

            return(ResultSequenceFactory.create_new(new XSBoolean(false)));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Operation on the values of the arguments.
        /// </summary>
        /// <param name="args">
        ///            input arguments. </param>
        /// @param
        ///         DynamicContext </param>
        /// <exception cref="DynamicError">
        ///             Dynamic error. </exception>
        /// <returns> Result of the operation. </returns>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static org.eclipse.wst.xml.xpath2.api.ResultSequence fs_le_value(java.util.Collection args, org.eclipse.wst.xml.xpath2.api.DynamicContext dc) throws org.eclipse.wst.xml.xpath2.processor.DynamicError
        public static ResultSequence fs_le_value(ICollection args, DynamicContext dc)
        {
            ResultSequence less = FsLt.fs_lt_value(args, dc);

            if (((XSBoolean)less.first()).value())
            {
                return(less);
            }

            ResultSequence equal = FsEq.fs_eq_value(args, dc);

            if (((XSBoolean)equal.first()).value())
            {
                return(equal);
            }

            return(ResultSequenceFactory.create_new(new XSBoolean(false)));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// General operation on the arguments.
        /// </summary>
        /// <param name="args">
        ///            input arguments. </param>
        /// <param name="dc">
        ///             The dynamic context </param>
        /// <exception cref="DynamicError">
        ///             Dynamic error. </exception>
        /// <returns> Result of the operation. </returns>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static org.eclipse.wst.xml.xpath2.api.ResultSequence fs_ne_general(java.util.Collection args, org.eclipse.wst.xml.xpath2.api.DynamicContext ec) throws org.eclipse.wst.xml.xpath2.processor.DynamicError
        public static ResultSequence fs_ne_general(ICollection args, DynamicContext ec)
        {
            return(FsEq.do_cmp_general_op(args, typeof(FsNe), "fs_ne_value", ec));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Operation on the values of the arguments.
        /// </summary>
        /// <param name="args">
        ///            input arguments. </param>
        /// <param name="context">
        ///             The dynamic context </param>
        /// <exception cref="DynamicError">
        ///             Dynamic error. </exception>
        /// <returns> Result of the operation. </returns>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static org.eclipse.wst.xml.xpath2.api.ResultSequence fs_ne_value(java.util.Collection args, org.eclipse.wst.xml.xpath2.api.DynamicContext context) throws org.eclipse.wst.xml.xpath2.processor.DynamicError
        public static ResultSequence fs_ne_value(ICollection args, DynamicContext context)
        {
            return(FnNot.fn_not(FsEq.fs_eq_value(args, context)));
        }
Ejemplo n.º 5
0
        /// <summary>
        /// General operation on the arguments.
        /// </summary>
        /// <param name="args">
        ///            input arguments. </param>
        /// <param name="dc">
        ///             The dynamic context </param>
        /// <exception cref="DynamicError">
        ///             Dynamic error. </exception>
        /// <returns> Result of the operation. </returns>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static org.eclipse.wst.xml.xpath2.api.ResultSequence fs_lt_general(java.util.Collection args, org.eclipse.wst.xml.xpath2.api.DynamicContext dc) throws org.eclipse.wst.xml.xpath2.processor.DynamicError
        public static ResultSequence fs_lt_general(ICollection args, DynamicContext dc)
        {
            return(FsEq.do_cmp_general_op(args, typeof(FsLt), "fs_lt_value", dc));
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Operation on the values of the arguments.
 /// </summary>
 /// <param name="args">
 ///            input arguments. </param>
 /// <param name="context">
 ///             Dynamic context </param>
 /// <exception cref="DynamicError">
 ///             Dynamic error. </exception>
 /// <returns> Result of the operation. </returns>
 public static ResultSequence fs_lt_value(ICollection args, DynamicContext dc)
 {
     return(FsEq.do_cmp_value_op(args, typeof(CmpLt), "lt", dc));
 }