defaultHandlers.add(new FeatureTimeRangeHandler(
new FeatureAttributeHandler(
timeDescriptors.startRange),
new FeatureAttributeHandler(
timeDescriptors.endRange),
new AdaptorProxyFieldLevelVisibilityHandler(
timeDescriptors.startRange.getLocalName(),
this)));
}
else if (timeDescriptors.time != null) {
// if we didn't succeed in identifying a start and end time,
// just grab the first attribute and use it as a timestamp
defaultHandlers.add(new FeatureTimestampHandler(
timeDescriptors.time,
new AdaptorProxyFieldLevelVisibilityHandler(
timeDescriptors.time.getLocalName(),
this)));
}
defaultHandlers.add(new FeatureGeometryHandler(
internalType.getGeometryDescriptor(),
new AdaptorProxyFieldLevelVisibilityHandler(
internalType.getGeometryDescriptor().getLocalName(),
this)));
return defaultHandlers;
}
LOGGER.warn("Simple Feature Type could not be used for handling the indexed data");