/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { net.opengis.ows10.GetCapabilitiesType owsGetCapabilities = (net.opengis.ows10.GetCapabilitiesType) value; GetCapabilitiesType getCapabilities = wfsfactory.createGetCapabilitiesType(); getCapabilities.setAcceptFormats(owsGetCapabilities.getAcceptFormats()); getCapabilities.setAcceptVersions(owsGetCapabilities.getAcceptVersions()); getCapabilities.setSections(owsGetCapabilities.getSections()); getCapabilities.setUpdateSequence(owsGetCapabilities.getUpdateSequence()); if (node.hasAttribute("service")) { getCapabilities.setService((String) node.getAttributeValue("service")); } return getCapabilities; } }