/** * Create an instance of {@link BoundsType } * */ public BoundsType createBoundsType() { return new BoundsType(); }
@Override public Object getProperty(Object object, QName name) throws Exception { BoundsType bounds = (BoundsType) object; if("minlat".equals(name.getLocalPart())) return bounds.getMinlat(); if("minlon".equals(name.getLocalPart())) return bounds.getMinlon(); if("maxlat".equals(name.getLocalPart())) return bounds.getMaxlat(); if("maxlon".equals(name.getLocalPart())) return bounds.getMaxlon(); return null; } }
/** * <!-- 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; }
@Override public Object getProperty(Object object, QName name) throws Exception { BoundsType bounds = (BoundsType) object; if("minlat".equals(name.getLocalPart())) return bounds.getMinlat(); if("minlon".equals(name.getLocalPart())) return bounds.getMinlon(); if("maxlat".equals(name.getLocalPart())) return bounds.getMaxlat(); if("maxlon".equals(name.getLocalPart())) return bounds.getMaxlon(); return null; } }
/** * <!-- 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; }
/** * Create an instance of {@link BoundsType } * */ public BoundsType createBoundsType() { return new BoundsType(); }