工程师 (已认证)
原创分享签约作者
Gets the specified attribute from the specified object. For example, * getObjectAttribute(o, "address.line1") will return * the result of calling o.getAddress().getLine1().
getObjectAttribute(o, "address.line1")
o.getAddress().getLine1()
* *
The attribute specified may contain as many levels as you like. If at * any time a null reference is acquired by calling one of the successive * getter methods, then the return value from this method is also null.
When reading from a boolean property the underlying bean introspector * first looks for an is read method, not finding one it will * still look for a get read method. Not finding either, the * property is considered write-only.
bean
* Uses the classes in java.beans to get back * a descriptor for a property. Read-only and write-only * properties will have a slower return time. *
java.beans
本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。
分享文章到朋友圈
关注时代Java