protected static class ShapeBuilder.CoordinateNode extends Object implements ToXContent
Can either be a leaf node consisting of a Coordinate, or a parent with children
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected List<ShapeBuilder.CoordinateNode> |
children |
protected com.vividsolutions.jts.geom.Coordinate |
coordinate |
EMPTY_PARAMS| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
CoordinateNode(com.vividsolutions.jts.geom.Coordinate coordinate)
Creates a new leaf CoordinateNode
|
protected |
CoordinateNode(List<ShapeBuilder.CoordinateNode> children)
Creates a new parent CoordinateNode
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected boolean |
isEmpty() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
protected final com.vividsolutions.jts.geom.Coordinate coordinate
protected final List<ShapeBuilder.CoordinateNode> children
protected CoordinateNode(com.vividsolutions.jts.geom.Coordinate coordinate)
coordinate - Coordinate for the Nodeprotected CoordinateNode(List<ShapeBuilder.CoordinateNode> children)
children - Children of the Nodeprotected boolean isEmpty()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.