Package xbird.xquery.func

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


    }

    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

        this._evalPocily = EvaluationPolicy.dynamic;
    }

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

        QualifiedName resolvedName = resolve(funcName);
        this._funcName = resolvedName;
        Type type = obtainType(funcName);
        this._returnType = type;
        final FunctionSignature[] sig = new FunctionSignature[1];
        sig[0] = new FunctionSignature(resolvedName, new Type[] { TypeRegistry.safeGet("xs:anyAtomicType?") });
        this._signs = sig;
    }
View Full Code Here

        return type;
    }

    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

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

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

        }

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

        }

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

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

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

        }

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