public class GeometryCollection extends Object implements GjsonObject, Iterable<GjsonObject>
| Modifier and Type | Class and Description |
|---|---|
static class |
GeometryCollection.Builder |
| Constructor and Description |
|---|
GeometryCollection() |
GeometryCollection(GeometryCollection.Builder builder) |
GeometryCollection(GjsonObject... objects) |
GeometryCollection(List<GjsonObject> geometries) |
| Modifier and Type | Method and Description |
|---|---|
GeometryCollection |
decode(String geojson) |
org.json.JSONObject |
encode() |
Enumeration<Point> |
enumeration() |
List<GjsonObject> |
getGeometries() |
GjsonObjectType |
getType() |
boolean |
isValid() |
Iterator<GjsonObject> |
iterator() |
static GeometryCollection |
newInstance() |
static GeometryCollection |
of(GjsonObject... geometries) |
static GeometryCollection |
of(List<GjsonObject> geometries) |
static GeometryCollection |
of(String geojson) |
void |
setGeometries(List<GjsonObject> geometries) |
void |
setType(GjsonObjectType type) |
String |
toString() |
String |
toString(int indent) |
void |
validation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic GeometryCollection(List<GjsonObject> geometries)
geometries - public GeometryCollection(GeometryCollection.Builder builder)
builder - public GeometryCollection(GjsonObject... objects)
objects - public GeometryCollection()
public static GeometryCollection of(String geojson)
geojson - public static GeometryCollection of(List<GjsonObject> geometries)
geometries - public static GeometryCollection of(GjsonObject... geometries)
geometries - public static final GeometryCollection newInstance()
public GeometryCollection decode(String geojson)
decode in interface GjsonObjectpublic org.json.JSONObject encode()
encode in interface GjsonObjectpublic Enumeration<Point> enumeration()
enumeration in interface GjsonObjectpublic Iterator<GjsonObject> iterator()
iterator in interface Iterable<GjsonObject>public boolean isValid()
isValid in interface GjsonObjectpublic void validation()
throws GjsonEncodeException
validation in interface GjsonObjectGjsonEncodeExceptionpublic String toString(int indent)
toString in interface GjsonObjectpublic String toString()
toString in interface GjsonObjecttoString in class Objectpublic GjsonObjectType getType()
getType in interface GjsonObjectpublic void setType(GjsonObjectType type)
setType in interface GjsonObjectpublic List<GjsonObject> getGeometries()
public void setGeometries(List<GjsonObject> geometries)
geometries - Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.