public Property createProperty(final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new Geo(parameters, value); }
public Property createProperty(final String name, final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new Geo(parameters, value); }
public Property createProperty() { return new Geo(); } }
public Property createProperty(final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new Geo(parameters, value); }
public Property createProperty() { return new Geo(); } }
public Property createProperty() { return new Geo(); } }
public Property createProperty(final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new Geo(parameters, value); }
public Property createProperty(final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new Geo(parameters, value); }
public Property createProperty(final String name) { return new Geo(); } };
public Property createProperty() { return new Geo(); } }
/** * @return */ public static TestSuite suite() { TestSuite suite = new TestSuite(); // Ensure no loss of precision in lattitude/longitude.. Geo geo = new Geo("37.386013;-122.082932"); suite.addTest(new GeoTest(geo, "37.386013;-122.082932")); //testGeoBigDecimal.. BigDecimal latitude = BigDecimal.valueOf(65.35); BigDecimal longitude = BigDecimal.valueOf(22.01); geo = new Geo(latitude, longitude); suite.addTest(new GeoTest(geo, "65.35;22.01")); suite.addTest(new GeoTest("testValidation", geo)); suite.addTest(new GeoTest("testEquals", geo)); return suite; } }
BwGeo bwgeo = val.getGeo(); if (bwgeo != null) { Geo geo = new Geo(bwgeo.getLatitude(), bwgeo.getLongitude()); pl.add(geo);