super(SYMBOL, StringType.STRING);
}
protected FunctionSignature[] signatures() {
final FunctionSignature[] s = new FunctionSignature[4];
s[0] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
DoubleType.DOUBLE });
s[1] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
DoubleType.DOUBLE, DoubleType.DOUBLE });
// workaround
s[2] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
NumericType.getInstance() });
s[3] = new FunctionSignature(getName(), new Type[] { TypeRegistry.safeGet("xs:string?"),
NumericType.getInstance(), NumericType.getInstance() });
return s;
}