Examples of EndedBy


Examples of org.opengis.filter.temporal.EndedBy

            "    </gml:TimePeriod> "
            "   </fes:EndedBy> " +
            "</fes:Filter>";
        buildDocument(xml);
       
        EndedBy endedBy = (EndedBy) parse();
        assertNotNull(endedBy);
       
        assertTrue(endedBy.getExpression1() instanceof PropertyName);
        assertEquals("timeInstanceAttribute", ((PropertyName)endedBy.getExpression1()).getPropertyName());

        assertTrue(endedBy.getExpression2() instanceof Literal);
        assertTrue(endedBy.getExpression2().evaluate(null) instanceof Period);
    }
View Full Code Here

Examples of org.opengis.filter.temporal.EndedBy

    @Test (expected=UnsupportedOperationException.class)
    public void testEndedByUnsuported() throws Exception{
     
     
      FilterFactory ff = CommonFactoryFinder.getFilterFactory((Hints) null);
      EndedBy filter = ff.endedBy(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.