Package org.opengis.filter.capability

Examples of org.opengis.filter.capability.FunctionName


             
                Set<FunctionName> functions = getAvailableFunctionNames();
                Iterator it = functions.iterator();

                while (it.hasNext()) {
                    FunctionName fname = (FunctionName) it.next();
                    AttributesImpl atts = new AttributesImpl();
                    atts.addAttribute("", "nArgs", "nArgs", "", fname.getArgumentCount() + "");

                    element(prefix + "Function_Name", fname.getName(), atts);
                }

                end(prefix + "Function_Names");
                end(prefix + "Functions");
            }
View Full Code Here


            for (String file : filterRoot.list()) {
                if (file.endsWith(".py")) {
                    PythonFilterFunctionAdapter adapter =
                        new PythonFilterFunctionAdapter(new File(filterRoot, file), py);
                    for(String name : adapter.getNames()) {
                        FunctionName fname =
                            ff.functionName(name, adapter.getParameterNames(name).size());
                        names.add(fname);
                    }
                }
            }
View Full Code Here

            Expression tx = fts.getTransformation();
            if(tx != null) {
                boolean rasterTransformation = false;
                if(tx instanceof Function) {
                    Function f = (Function) tx;
                    FunctionName name = f.getFunctionName();
                    if(name != null) {
                        Parameter<?> result = name.getReturn();
                        if(result != null) {
                            if(GridCoverage2D.class.isAssignableFrom(result.getType())) {
                                rasterTransformation = true;
                                this.rasterTransformation = tx;
                            }
View Full Code Here

TOP

Related Classes of org.opengis.filter.capability.FunctionName

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.