public class IbisFeatureToJson extends Object
FeatureToJson
.Modifier and Type | Field and Description |
---|---|
static DateFormat |
dateFormat |
(package private) HashMap<Long,Boolean> |
haveInvisiblePropertiesCache |
static int |
MAX_FEATURES |
(package private) HashMap<Long,List<String>> |
propertyNamesQueryCache |
(package private) HashMap<Long,List<String>> |
propertyNamesReturnCache |
Constructor and Description |
---|
IbisFeatureToJson(boolean arrays,
boolean edit,
boolean graph,
boolean aliases,
List<Long> attributesToInclude) |
IbisFeatureToJson(boolean arrays,
boolean edit,
boolean graph,
List<Long> attributesToInclude) |
Modifier and Type | Method and Description |
---|---|
org.json.JSONArray |
getDefinitiefJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
Get the features as JSONArray with the given params
|
org.json.JSONArray |
getHistorischeJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
Get the features as JSONArray with the given params
|
org.json.JSONArray |
getWorkflowJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
Get the features as JSONArray with the given params.
|
public static final int MAX_FEATURES
public static final DateFormat dateFormat
public IbisFeatureToJson(boolean arrays, boolean edit, boolean graph, List<Long> attributesToInclude)
public org.json.JSONArray getWorkflowJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al, nl.b3p.viewer.config.services.SimpleFeatureType ft, org.geotools.data.FeatureSource fs, org.geotools.data.Query q) throws IOException, org.json.JSONException, Exception
al
- The application layer(if there is a application layer)ft
- The featuretype that must be used to get the featuresfs
- The featureSourceq
- The queryIOException
- if anyorg.json.JSONException
- if anyException
- if anypublic org.json.JSONArray getDefinitiefJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al, nl.b3p.viewer.config.services.SimpleFeatureType ft, org.geotools.data.FeatureSource fs, org.geotools.data.Query q) throws IOException, org.json.JSONException, Exception
al
- The application layer(if there is a application layer)ft
- The featuretype that must be used to get the featuresfs
- The featureSourceq
- The queryIOException
- if anyorg.json.JSONException
- if anyException
- if anypublic org.json.JSONArray getHistorischeJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al, nl.b3p.viewer.config.services.SimpleFeatureType ft, org.geotools.data.FeatureSource fs, org.geotools.data.Query q) throws IOException, org.json.JSONException, Exception
al
- The application layer(if there is a application layer)ft
- The featuretype that must be used to get the featuresfs
- The featureSourceq
- The queryIOException
- if anyorg.json.JSONException
- if anyException
- if anyCopyright © 2023 B3partners. All rights reserved.