/** * Creates an immutable instance of GeoLat extension with the coordinate * set to the value passed in. * * @param lat The latitude coordinate reprensented by this element. * @throws IllegalArgumentException if the the latitude is not between * -90 and 90. */ public GeoLat(Double lat) throws IllegalArgumentException { super(Namespaces.W3C_GEO_NAMESPACE, "lat", null, null); setRequired(true); if (lat != null) { setLatitude(lat); setImmutable(true); } }
/** * Creates an immutable instance of GeoLat extension with the coordinate * set to the value passed in. * * @param lat The latitude coordinate reprensented by this element. * @throws IllegalArgumentException if the the latitude is not between * -90 and 90. */ public GeoLat(Double lat) throws IllegalArgumentException { super(Namespaces.W3C_GEO_NAMESPACE, "lat", null, null); setRequired(true); if (lat != null) { setLatitude(lat); setImmutable(true); } }
/** * Creates an immutable instance of GeoLat extension with the coordinate * set to the value passed in. * * @param lat The latitude coordinate reprensented by this element. * @throws IllegalArgumentException if the the latitude is not between * -90 and 90. */ public GeoLat(Double lat) throws IllegalArgumentException { super(Namespaces.W3C_GEO_NAMESPACE, "lat", null, null); setRequired(true); if (lat != null) { setLatitude(lat); setImmutable(true); } }