public List getProperties(Object object) throws Exception { //special hack for Functions, while not mandated by the spec we handle it // here BinarySpatialOperator operator = (BinarySpatialOperator) object; if ( operator.getExpression2() instanceof Function ) { ArrayList props = new ArrayList(); props.add( new Object[]{ OGC.Function, operator.getExpression2() } ); return props; } return super.getProperties(object); }
public List getProperties(Object object) throws Exception { //special hack for Functions, while not mandated by the spec we handle it // here BinarySpatialOperator operator = (BinarySpatialOperator) object; if (operator.getExpression2() instanceof Function) { ArrayList props = new ArrayList(); props.add(new Object[] { OGC.Function, operator.getExpression2() }); return props; } return super.getProperties(object); } }