class ElementProperties {

    static public ElementProperty hasClass(String className) {
        return new ElementProperty() {
            @Override
            public String toXpath() {
                return XpathUtils.hasClass(className);
            }

            public String toString() {
                return "has class " + className;
            }
        };
    }

    private  ElementProperties();

}