else if("y-coordinate".equals(type))
result = new YCoordinateAttributeCompiler();
else if("cursor".equals(type))
result = new CursorAttributeCompiler();
else
throw new LimelightException("Unknown StyleAttributeCompiler named " + type);
result.setName(name);
result.type = type;
return result;
}