Package org.apache.xpath.compiler

Examples of org.apache.xpath.compiler.FunctionTable


    /**
     * Initiates the function table.
     */
    private void initFunctionTable() {
        funcTable_ = new FunctionTable();
        funcTable_.installFunction("lower-case", LowerCaseFunction.class);
        funcTable_.installFunction("is-descendant-of-contextual-form", IsDescendantOfContextualFormFunction.class);
    }
View Full Code Here


        try {
            Method install;
            Object function;

            if (XCOMPILER3) {
                functionTable = new FunctionTable();
                function = FuncFTContains.class;
                install = functionTable.getClass().getMethod("installFunction",
                                                             new Class[] {String.class, Class.class});
                num = install.invoke(functionTable, new Object[] {"ftcontains", function});
            } else {
View Full Code Here

        } catch (Exception ex) {
            log.debug("Error installing function using the static installFunction method", ex);
        }
        if (!installed) {
            try {
                funcTable = new FunctionTable();
                Class<?>[] args = {String.class, Class.class};
                Method installFunction = FunctionTable.class.getMethod("installFunction", args);
                Object[] params = {"here", FuncHere.class};
                installFunction.invoke(funcTable, params);
                installed = true;
View Full Code Here

TOP

Related Classes of org.apache.xpath.compiler.FunctionTable

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.