*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
GetFeatureWithLockType getFeatureWithLock = wfsfactory
.createGetFeatureWithLockType();
//<xsd:element maxOccurs="unbounded" ref="wfs:Query"/>
getFeatureWithLock.getQuery().addAll(node.getChildValues(QueryType.class));
//<xsd:attribute default="5" name="expiry" type="xsd:positiveInteger" use="optional">
if (node.hasAttribute("expiry")) {
getFeatureWithLock.setExpiry((BigInteger) node.getAttributeValue("expiry"));
}
//<xsd:attribute default="results" name="resultType" type="wfs:ResultTypeType" use="optional">
if (node.hasAttribute("resultType")) {
getFeatureWithLock.setResultType((ResultTypeType) node.getAttributeValue("resultType"));
}
//<xsd:attribute default="text/xml; subtype=gml/3.1.1"
// name="outputFormat" type="xsd:string" use="optional">
if (node.hasAttribute("outputFormat")) {
getFeatureWithLock.setOutputFormat((String) node.getAttributeValue("outputFormat"));
}
//<xsd:attribute name="maxFeatures" type="xsd:positiveInteger" use="optional">
if (node.hasAttribute("maxFeatures")) {
getFeatureWithLock.setMaxFeatures((BigInteger) node.getAttributeValue("maxFeatures"));
}
//<xsd:attribute name="traverseXlinkDepth" type="xsd:string" use="optional">
if (node.hasAttribute("traverseXlinkDepth")) {
getFeatureWithLock.setTraverseXlinkDepth((String) node.getAttributeValue(
"traverseXlinkDepth"));
}
//<xsd:attribute name="traverseXlinkExpiry"
// type="xsd:positiveInteger" use="optional">
if (node.hasAttribute("traverseXlinkExpiry")) {
getFeatureWithLock.setTraverseXlinkExpiry((BigInteger) node.getAttributeValue(
"traverseXlinkExpiry"));
}
return getFeatureWithLock;
}