/** * * <!-- begin-user-doc --> * * @param value an instance of {@link GetCapabilitiesType} (possibly a subclass) if a binding * for a specific service's GetCapabilities request used {@link Binding#BEFORE} {@link * #getExecutionMode() execution mode}, and thus relies on this binding to fill the common * properties. <code>null</code> otherwise. * <!-- end-user-doc --> * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { GetCapabilitiesType getCapabilities; if ((value != null) && value instanceof GetCapabilitiesType) { getCapabilities = (GetCapabilitiesType) value; } else { getCapabilities = owsfactory.createGetCapabilitiesType(); } getCapabilities.setAcceptVersions( (AcceptVersionsType) node.getChildValue(AcceptVersionsType.class)); getCapabilities.setSections((SectionsType) node.getChildValue(SectionsType.class)); getCapabilities.setAcceptFormats( (AcceptFormatsType) node.getChildValue(AcceptFormatsType.class)); getCapabilities.setUpdateSequence((String) node.getAttributeValue("updateSequence")); return getCapabilities; } }