: API- Introspector JDK bean - . , , .
BeanInfo Introspector propertyDescriptors. getter .
, API ( ) .
Apache BeanUtils, , beans .
API , bean .
public class MyClassWith90Fields {
@XmlSerialize("name")
private String screenName;
@XmlSerialize
private String email;
@XmlSerializeIgnore
pirvate boolean flag;
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
public @annotation XmlSerialize {
public String value;
}
( ) XML.