/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { BoundsType bounds = factory.createBoundsType(); bounds.setMinlat((Double) node.getAttributeValue("minlat")); bounds.setMinlon((Double) node.getAttributeValue("minlon")); bounds.setMaxlat((Double) node.getAttributeValue("maxlat")); bounds.setMaxlon((Double) node.getAttributeValue("maxlon")); return bounds; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { BoundsType bounds = factory.createBoundsType(); bounds.setMinlat((Double) node.getAttributeValue("minlat")); bounds.setMinlon((Double) node.getAttributeValue("minlon")); bounds.setMaxlat((Double) node.getAttributeValue("maxlat")); bounds.setMaxlon((Double) node.getAttributeValue("maxlon")); return bounds; }