*
* @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;
}