| java.lang.Object | |
| ↳ | com.carto.geometry.FeatureBuilder |
Known Direct Subclasses
|
A feature builder for constructing individual features.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
FeatureBuilder()
Constructs a FeatureBuilder with empty state.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Feature |
buildFeature()
Builds a new feature from the state.
| ||||||||||
| synchronized void | delete() | ||||||||||
| boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
| Geometry |
getGeometry()
Returns the geometry of the builder.
| ||||||||||
| Variant |
getPropertyValue(String key)
Returns a specified property value of the builder.
| ||||||||||
| int |
hashCode()
Returns the hash value of this object.
| ||||||||||
| void |
setGeometry(Geometry geometry)
Sets the geometry of the builder.
| ||||||||||
| void |
setPropertyValue(String key, Variant value)
Sets an individual property value of the builder.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a FeatureBuilder with empty state.
Builds a new feature from the state.
Checks if this object is equal to the specified object.
| obj | The reference object. |
|---|
Returns the geometry of the builder.
Returns a specified property value of the builder.
| key | The name of the property to return. |
|---|
Returns the hash value of this object.
Sets the geometry of the builder.
| geometry | The new geometry to use for the builder. |
|---|
Sets an individual property value of the builder.
| key | The name of the property to set. |
|---|---|
| value | The value of the property. |