Package org.geotools.filter

Examples of org.geotools.filter.ConstantExpression.evaluate()


        factory = new ColorConverterFactory();
    }
    public void testVsConstantExpression() throws Exception {
        ConstantExpression expr = ConstantExpression.color(Color.RED);
        String expected = expr.evaluate(null, String.class );
       
        Converter converter = factory.createConverter( Color.class, String.class, null );
        String actual = converter.convert( Color.RED, String.class );
       
        assertEquals( expected, actual );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.