*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
UpdateElementType updateElement = wfsfactory.createUpdateElementType();
//<xsd:element maxOccurs="unbounded" ref="wfs:Property">
updateElement.getProperty().addAll(node.getChildValues(PropertyType.class));
//<xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter">
updateElement.setFilter((Filter) node.getChildValue(Filter.class));
//<xsd:attribute name="handle" type="xsd:string" use="optional">
if (node.hasAttribute("handle")) {
updateElement.setHandle((String) node.getAttributeValue("handle"));
}
//<xsd:attribute name="typeName" type="xsd:QName" use="required">
updateElement.setTypeName((QName) node.getAttributeValue("typeName"));
//<xsd:attribute default="x-application/gml:3" name="inputFormat"
// type="xsd:string" use="optional">
if (node.hasAttribute("inputFormat")) {
updateElement.setInputFormat((String) node.getAttributeValue("inputFormat"));
}
//<xsd:attribute name="srsName" type="xsd:anyURI" use="optional">
if (node.hasAttribute("srsName")) {
updateElement.setSrsName((URI) node.getAttributeValue("srsName"));
}
return updateElement;
}