public class ComponentFilter
extends java.lang.Object
implements com.google.maps.internal.StringJoin.UrlValue
Please see Component Filtering for more detail.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
component |
java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static ComponentFilter |
administrativeArea(java.lang.String administrativeArea)
administrativeArea matches all the administrative area levels. |
static ComponentFilter |
country(java.lang.String country)
country matches a country name or a two letter ISO 3166-1 country code. |
static ComponentFilter |
locality(java.lang.String locality)
locality matches against both locality and sublocality types. |
static ComponentFilter |
postalCode(java.lang.String postalCode)
postalCode matches postal code and postal code prefix. |
static ComponentFilter |
route(java.lang.String route)
route matches long or short name of a route. |
java.lang.String |
toString() |
java.lang.String |
toUrlValue() |
public final java.lang.String component
public final java.lang.String value
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toUrlValue()
toUrlValue
in interface com.google.maps.internal.StringJoin.UrlValue
public static ComponentFilter route(java.lang.String route)
route
matches long or short name of a route.public static ComponentFilter locality(java.lang.String locality)
locality
matches against both locality and sublocality types.public static ComponentFilter administrativeArea(java.lang.String administrativeArea)
administrativeArea
matches all the administrative area levels.public static ComponentFilter postalCode(java.lang.String postalCode)
postalCode
matches postal code and postal code prefix.public static ComponentFilter country(java.lang.String country)
country
matches a country name or a two letter ISO 3166-1 country code.