public Object parse(ElementInstance instance, Node node, Object value) { InsertResultsType resultType = wfsfactory.createInsertResultsType(); for (Object featureid : node.getChildValues("FeatureId")) { if (!"none".equals(featureid.toString())) { InsertedFeatureType feature = wfsfactory.createInsertedFeatureType(); feature.getFeatureId().add(featureid); resultType.getFeature().add(feature); } } return resultType; }
public void addInsertedFeature(String handle, FeatureId featureId) { InsertedFeatureType insertedFeature = ((WfsFactory) getFactory()).createInsertedFeatureType(); insertedFeature.setHandle(handle); insertedFeature.getFeatureId().add(featureId); ((TransactionResponseType) adaptee) .getInsertResults() .getFeature() .add(insertedFeature); }
.createInsertedFeatureType(); insertedFeature.setHandle(rollback.getHandle()); insertedFeature.getFeatureId().add(filterFactory.featureId(fd.getID()));