Examples of XmlConverterFactory


Examples of org.geotools.xml.XmlConverterFactory

        assertXpathEvaluatesTo("0", "count(//csw:SearchResults/*)", d);
    }

    private void assertGMLTimestamp(String timeStamp) throws Exception {
        assertNotNull(timeStamp);
        Calendar cal = new XmlConverterFactory()
                .createConverter(String.class, Calendar.class, null).convert(timeStamp,
                        Calendar.class);
        assertNotNull(cal);
        assertEquals(TimeZone.getTimeZone("GMT"), cal.getTimeZone());
    }
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.