/** * Creates a String representation of this Function with the function name and the arguments. * The String created should be good for most subclasses */ // Copied from FunctionExpressionImpl KS public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getName()); sb.append("("); List<org.opengis.filter.expression.Expression> params = getParameters(); if (params != null) { org.opengis.filter.expression.Expression exp; for (Iterator<org.opengis.filter.expression.Expression> it = params.iterator(); it.hasNext(); ) { exp = it.next(); sb.append("["); sb.append(exp); sb.append("]"); if (it.hasNext()) { sb.append(", "); } } } sb.append(")"); return sb.toString(); }
for (Iterator i = functions.iterator(); i.hasNext();) { FunctionImpl function = (FunctionImpl) i.next(); functionImplCache.put(function.getName().toLowerCase(), function.getClass());