/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { PtType point = factory.createPtType(); point.setLon((Double) node.getAttributeValue("lon")); point.setLat((Double) node.getAttributeValue("lat")); point.setEle((Double) node.getChildValue("ele")); point.setTime((Calendar) node.getChildValue("time")); return point; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { PtType point = factory.createPtType(); point.setLon((Double) node.getAttributeValue("lon")); point.setLat((Double) node.getAttributeValue("lat")); point.setEle((Double) node.getChildValue("ele")); point.setTime((Calendar) node.getChildValue("time")); return point; }