Package xbird.xquery.func

Examples of xbird.xquery.func.FunctionSignature


        super(SYMBOL, BooleanType.BOOLEAN);
    }

    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


        this._evalPocily = EvaluationPolicy.eager;
    }

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

        this._evalPocily = EvaluationPolicy.eager;
    }

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

        super(SYMBOL, StringType.STRING);
    }

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

        super(SYMBOL, BooleanType.BOOLEAN);
    }

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

    }

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

        super(SYMBOL, TypeRegistry.safeGet("xs:anyAtomicType?"));
    }

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

    }

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

    }

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

    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] t = new FunctionSignature[2];
        Type str = TypeRegistry.safeGet("xs:string?");
        t[0] = new FunctionSignature(getName(), new Type[] { str, str });
        t[1] = new FunctionSignature(getName(), new Type[] { str, str, StringType.STRING });
        return t;
    }
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.