Package xbird.xquery.func

Examples of xbird.xquery.func.FunctionSignature


        super(SYMBOL, TypeRegistry.safeGet("xs:string*"));
    }

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


        super(SYMBOL, Type.NONE);
    }

    protected FunctionSignature[] signatures() {
        final FunctionSignature[] s = new FunctionSignature[4];
        s[0] = new FunctionSignature(getName());
        s[1] = new FunctionSignature(getName(), new Type[] { QNameType.QNAME });
        s[2] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:QName?"),
                StringType.STRING });
        s[3] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:QName?"),
                StringType.STRING, SequenceType.ANY_ITEMS });
        return s;
    }
View Full Code Here

            super(symbol, retType);
        }

        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, 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

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

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

    }

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

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

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

            super(symbol, retType);
        }

        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, TypeRegistry.safeGet("xs:anyAtomicType*"));
    }

    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

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.