A NamedStyle is a Style that has only Name, so all setters other than setName will throw an UnsupportedOperationException
UnsupportedOperationException