com.google.maps.internal.StringJoin.UrlValuepublic class ComponentFilter
extends java.lang.Object
implements com.google.maps.internal.StringJoin.UrlValue
Please see Component Filtering for more detail.
| Modifier and Type | Field | Description | 
|---|---|---|
java.lang.String | 
component | 
|
java.lang.String | 
value | 
| Constructor | Description | 
|---|---|
ComponentFilter(java.lang.String component,
               java.lang.String value) | 
 Constructs a component filter. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static ComponentFilter | 
administrativeArea(java.lang.String administrativeArea) | 
 Matches all the administrative area levels. 
 | 
static ComponentFilter | 
country(java.lang.String country) | 
 Matches a country name or a two letter ISO 3166-1 country code. 
 | 
static ComponentFilter | 
locality(java.lang.String locality) | 
 Matches against both locality and sublocality types. 
 | 
static ComponentFilter | 
postalCode(java.lang.String postalCode) | 
 Matches postal code or postal code prefix. 
 | 
static ComponentFilter | 
route(java.lang.String 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 ComponentFilter(java.lang.String component,
                       java.lang.String value)
component - The component to filter.value - The value of the filter.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toUrlValue()
toUrlValue in interface com.google.maps.internal.StringJoin.UrlValuepublic static ComponentFilter route(java.lang.String route)
route - The name of the route to filter on.ComponentFilter.public static ComponentFilter locality(java.lang.String locality)
locality - The locality to filter on.ComponentFilter.public static ComponentFilter administrativeArea(java.lang.String administrativeArea)
administrativeArea - The administrative area to filter on.ComponentFilter.public static ComponentFilter postalCode(java.lang.String postalCode)
postalCode - The postal code to filter on.ComponentFilter.public static ComponentFilter country(java.lang.String country)
country - The country to filter on.ComponentFilter.