| 241 | } |
| 242 | |
| 243 | @Override |
| 244 | public void setAttribute(Attribute attribute) { |
| 245 | try { |
| 246 | AttributeInfo attributeInfo = attributeMap.get(attribute.getName()); |
| 247 | if (attributeInfo == null || attributeInfo.setter == null) { |
| 248 | return; |
| 249 | } |
| 250 | attributeInfo.setter.invoke(bean, attribute.getValue()); |
| 251 | } catch (IllegalAccessException | InvocationTargetException e) { |
| 252 | LOG.severe("Error during execution: " + e.getMessage()); |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | @Override |
| 257 | public AttributeList getAttributes(String @Nullable [] attributes) { |