Package xbird.xquery.func

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:time?") });
            return s;
        }
View Full Code Here


            super(symbol, type);
        }

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

        super(SYMBOL, StringType.STRING);
    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[4];
        s[0] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
                DoubleType.DOUBLE });
        s[1] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
                DoubleType.DOUBLE, DoubleType.DOUBLE });
        // workaround
        s[2] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
                NumericType.getInstance() });
        s[3] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
                NumericType.getInstance(), NumericType.getInstance() });
        return s;
    }
View Full Code Here

        super(SYMBOL, QNameType.QNAME);
    }

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

        super(SYMBOL, SequenceType.ANY_ITEMS);
    }

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

        }

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

    }

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

            super(symbol, type);
        }

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

        super(SYMBOL, IntegerType.INTEGER);
    }

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

        }

        @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

TOP

Related Classes of xbird.xquery.func.FunctionSignature

Copyright © 2018 www.massapicom. 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.