@Override
    public void setStyleClass(String styleClass) {
        this.styleClass = styleClass;
    }
Creates a new menu item without value.
primefaces/src/main/java/org/primefaces/model/menu/DefaultMenuItem.java