Examples of AnyInteracts


Examples of org.opengis.filter.temporal.AnyInteracts

            "    </gml:TimePeriod> "
            "   </fes:AnyInteracts> " +
            "</fes:Filter>";
        buildDocument(xml);

        AnyInteracts anyInteracts = (AnyInteracts) parse();
        assertNotNull(anyInteracts);
       
        assertTrue(anyInteracts.getExpression1() instanceof PropertyName);
        assertEquals("timeInstanceAttribute", ((PropertyName)anyInteracts.getExpression1()).getPropertyName());

        assertTrue(anyInteracts.getExpression2() instanceof Literal);
        System.out.println(anyInteracts.getExpression2().evaluate(null));
        assertTrue(anyInteracts.getExpression2().evaluate(null) instanceof Period);
    }
View Full Code Here

Examples of org.opengis.filter.temporal.AnyInteracts

   
    @Test (expected=UnsupportedOperationException.class)
    public void testAnyInteractsUnsuported() throws Exception{

      FilterFactory ff = CommonFactoryFinder.getFilterFactory((Hints) null);
      AnyInteracts filter = ff.anyInteracts(ff.property("date"), newSampleDate());
     
        FilterToCQL toCQL = new FilterToCQL();
        filter.accept( toCQL, null ).toString();
    }
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.