Builder to construct an Indexable
for a geographic area described by a shape.
For reference, see: //schema.org/GeoShape.
Public Method Summary
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Public Methods
public GeoShapeBuilder setBox (String... box)
Sets the geographic area with one or more box shapes.
Parameters
box | A box is the area enclosed by the rectangle formed by two points. The first point is the lower corner (south-west), the second point is the upper corner (north-east). Commas is used to separate latitude and longitude to represent the point. A box is expressed as two points separated by a space character given in lat,long degrees. E.g.: "37.751608,-122.424074 37.764622,-122.412747". Multiple boxes can be speciified. |
---|
public GeoShapeBuilder setBox (String box)
This method is deprecated.
Use
setBox(String)
instead.
Sets the geographic area with box shape.