ToXContent
, ToXContentObject
public class CoordinateNode extends java.lang.Object implements ToXContentObject
Can either be a leaf node consisting of a Coordinate, or a parent with children
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field | Description |
---|---|---|
java.util.List<CoordinateNode> |
children |
|
org.locationtech.jts.geom.Coordinate |
coordinate |
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
boolean |
isEmpty() |
|
protected int |
numDimensions() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public final org.locationtech.jts.geom.Coordinate coordinate
public final java.util.List<CoordinateNode> children
public boolean isEmpty()
protected int numDimensions()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException