1. Do not use IllegalArgumentException. Use some OUR exception. For this purpose exists WrongAttributeAssignmentException. 
2. Method isFromNamespace use "string Namespace" where "group" is not enough. You must send there Namespace from AttributesManager (the constant) like NS_GROUP_ATTR.