public abstract class TfcatObject extends Object
Modifier | Constructor and Description |
---|---|
protected |
TfcatObject(org.json.JSONObject json,
String type,
Crs crs,
Bbox bbox)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Bbox |
getBbox()
Returns this object's bounding box, if any.
|
Crs |
getCrs()
Returns this object's coordinate reference system, if any.
|
org.json.JSONObject |
getJson()
Returns the JSON object on which this is based.
|
TfcatObject |
getParent()
Returns the parent of this TfcatObject.
|
String |
getType()
Returns the value of the type member, defining the TFCat type.
|
void |
purgeJson()
Removes any reference to the original parsed JSON from this object.
|
protected TfcatObject(org.json.JSONObject json, String type, Crs crs, Bbox bbox)
json
- JSON object on which this is basedtype
- value of type member, defining the TFCat typecrs
- coordinate reference system defined by crs member,
may be nullbbox
- bounding box defined by bbox member, may be nullpublic org.json.JSONObject getJson()
purgeJson()
has been called it will be null.public TfcatObject getParent()
public String getType()
public Crs getCrs()
public Bbox getBbox()
public void purgeJson()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.