public Object getProperty(Object object, QName name) throws Exception { DistanceBufferOperator operator = (DistanceBufferOperator) object; Object property = OGCUtils.property(operator.getExpression1(), operator.getExpression2(), name); if (property != null) { return property; } if ("Distance".equals(name.getLocalPart())) { return new Double(operator.getDistance()); } return null; } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.crosses(operands[0], operands[1]); } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.intersects(operands[0], operands[1]); } }
public Object getProperty(Object object, QName name) throws Exception { BinarySpatialOperator operator = (BinarySpatialOperator) object; return OGCUtils.property(operator.getExpression1(), operator.getExpression2(), name); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.contains(operands[0], operands[1]); } }
public Object getProperty(Object object, QName name) throws Exception { BinarySpatialOperator operator = (BinarySpatialOperator) object; return OGCUtils.property(operator.getExpression1(), operator.getExpression2(), name); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.touches(operands[0], operands[1]); } }
public Object getProperty(Object object, QName name) throws Exception { BinarySpatialOperator operator = (BinarySpatialOperator) object; return OGCUtils.property(operator.getExpression1(), operator.getExpression2(), name); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.disjoint(operands[0], operands[1]); } }
public Object getProperty(Object object, QName name) throws Exception { DistanceBufferOperator operator = (DistanceBufferOperator) object; Object property = OGCUtils.property(operator.getExpression1(), operator.getExpression2(), name); if (property != null) { return property; } if ("Distance".equals(name.getLocalPart())) { return new Double(operator.getDistance()); } return null; } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.equal(operands[0], operands[1]); } }
public Object getProperty(Object object, QName name) throws Exception { DistanceBufferOperator operator = (DistanceBufferOperator) object; Object property = OGCUtils.property(operator.getExpression1(), operator.getExpression2(), name); if (property != null) { return property; } if ("Distance".equals(name.getLocalPart())) { return new Double(operator.getDistance()); } return null; } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.overlaps(operands[0], operands[1]); } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.within(operands[0], operands[1]); } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); double distance = ((Double) node.getChildValue(Double.class)).doubleValue(); Object units = node.getChild("Distance").getAttributeValue("units"); return filterFactory.beyond( operands[0], operands[1], distance, units == null ? null : units.toString()); } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: units Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); double distance = ((Double) node.getChildValue("Distance")).doubleValue(); Object units = node.getChild("Distance").getAttributeValue("units"); return filterFactory.dwithin( operands[0], operands[1], distance, units == null ? null : units.toString()); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.touches(operands[0], operands[1]); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.within(operands[0], operands[1]); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.intersects(operands[0], operands[1]); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Expression[] operands = OGCUtils.spatial(node, filterFactory, geometryFactory); return filterFactory.crosses(operands[0], operands[1]); } }