1 16 17 package org.springframework.metadata.commons; 18 19 import java.lang.reflect.Field ; 20 import java.lang.reflect.Method ; 21 import java.util.Collection ; 22 23 import org.springframework.metadata.Attributes; 24 25 56 public class CommonsAttributes implements Attributes { 57 58 62 63 public Collection getAttributes(Class targetClass) { 64 return org.apache.commons.attributes.Attributes.getAttributes(targetClass); 65 } 66 67 public Collection getAttributes(Class targetClass, Class filter) { 68 return org.apache.commons.attributes.Attributes.getAttributes(targetClass, filter); 69 } 70 71 public Collection getAttributes(Method targetMethod) { 72 return org.apache.commons.attributes.Attributes.getAttributes(targetMethod); 73 } 74 75 public Collection getAttributes(Method targetMethod, Class filter) { 76 return org.apache.commons.attributes.Attributes.getAttributes(targetMethod, filter); 77 } 78 79 public Collection getAttributes(Field targetField) { 80 return org.apache.commons.attributes.Attributes.getAttributes(targetField); 81 } 82 83 public Collection getAttributes(Field targetField, Class filter) { 84 return org.apache.commons.attributes.Attributes.getAttributes(targetField, filter); 85 } 86 87 } 88 | Popular Tags |