Package org.geotools.filter.capability

Examples of org.geotools.filter.capability.FunctionsImpl


    public FunctionName functionName(Name name, List<Parameter<?>> args, Parameter<?> ret) {
        return new FunctionNameImpl( name, ret, args );
    }

    public Functions functions(FunctionName[] functionNames) {
        return new FunctionsImpl( functionNames );
    }
View Full Code Here


        }
        else if( "Id".equals(name)){
            contents.getIdCapabilities().setFID(true);
        }
        else {
            FunctionsImpl functions = contents.getScalarCapabilities().getArithmeticOperators().getFunctions();
            if( functions.getFunctionName( name ) == null ){
                FunctionNameImpl function = new FunctionNameImpl( name, 0 );
                functions.getFunctionNames().add( function );
            }
        }
    }
View Full Code Here

     *
     * @param name
     * @param argumentCount
     */
    public void addName( String name, int argumentCount ){
        FunctionsImpl functions = contents.getScalarCapabilities().getArithmeticOperators().getFunctions();
        if( functions.getFunctionName( name ) == null ){
            FunctionNameImpl function = new FunctionNameImpl( name, argumentCount );
            functions.getFunctionNames().add( function );
        }
    }
View Full Code Here

     * Example:<code>capabilities.addName( "Min", "value1", "value2" )</code>
     * @param name
     * @param argumentCount
     */
    public void addName( String name, String... argumentNames ){
        FunctionsImpl functions = contents.getScalarCapabilities().getArithmeticOperators().getFunctions();
        if( functions.getFunctionName( name ) == null ){
            FunctionNameImpl function = new FunctionNameImpl( name, argumentNames );           
            functions.getFunctionNames().add( function );
        }
    }
View Full Code Here

TOP

Related Classes of org.geotools.filter.capability.FunctionsImpl

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.