Examples of FunctionSignature


Examples of xbird.xquery.func.FunctionSignature

        }

        @Override
        protected FunctionSignature[] signatures() {
            final FunctionSignature[] s = new FunctionSignature[1];
            s[0] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:date?") });
            return s;
        }
View Full Code Here

Examples of xbird.xquery.func.FunctionSignature

    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[1];
        Type str = TypeRegistry.safeGet("xs:string?");
        s[0] = new FunctionSignature(getName(), new Type[] { str, str });
        return s;
    }
View Full Code Here

Examples of xbird.xquery.func.FunctionSignature

        super(SYMBOL, IntegerType.INTEGER);
    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[1];
        s[0] = new FunctionSignature(getName());
        return s;
    }
View Full Code Here

Examples of xbird.xquery.func.FunctionSignature

    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[2];
        Type stra = TypeRegistry.safeGet("xs:string*");
        s[0] = new FunctionSignature(getName(), new Type[] { stra });
        s[1] = new FunctionSignature(getName(), new Type[] { stra,
                NodeType.ANYNODE });
        return s;
    }
View Full Code Here

Examples of xbird.xquery.func.FunctionSignature

        super(SYMBOL, DateTimeType.DATETIME);
    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[1];
        s[0] = new FunctionSignature(getName(), new Type[] { DateType.DATE, TimeType.TIME });
        return s;
    }
View Full Code Here

Examples of xbird.xquery.func.FunctionSignature

        super(funcName, retType);
    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[2];
        s[0] = new FunctionSignature(getName(), new Type[] { getReturnType() });
        s[1] = new FunctionSignature(getName(), new Type[] { getReturnType(),
                TypeRegistry.safeGet("xs:dayTimeDuration?") });
        return s;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.