return GPKG.geopkgtype_features;
}
@Override
public Layer parseLayer(ElementInstance instance, Node node, Object value) throws Exception {
XSQNameBinding nameBinding = new XSQNameBinding(namespaceContext);
GeoPackageProcessRequest.FeaturesLayer layer = new GeoPackageProcessRequest.FeaturesLayer();
layer.setFeatureType((QName) nameBinding.parse(null, (String) node.getChildValue("featuretype")));
String pns = (String) node.getChildValue("propertynames");
if (pns != null) {
Set<QName> qnames = new HashSet<QName>();
for (String pn : Arrays.asList(pns.split(","))) {
qnames.add( (QName) nameBinding.parse(null, pn.trim() ));
}
layer.setPropertyNames( qnames);
}
layer.setFilter((Filter) node.getChildValue("filter"));
return layer;