|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.utility.PropertyDescriptorPlus
public class PropertyDescriptorPlus
A PropertyDescriptor provides acesss to a bean property. Values can be queried/changed using the read and writer methods of the PropertyDescriptor.
A PropertyDescriptorPlus object wraps a PropertyDescriptor and supplies enhanced set/get methods that match JAXB semantis. For example, the set(..) method is smart enough to add lists, arrays and atomic values on JAXB beans. The PropertyDescriptorPlus object also stores the xmlName of the property.
Method Summary | |
---|---|
Object |
get(Object targetBean)
Get the object |
String |
getPropertyName()
|
Class |
getPropertyType()
|
String |
getXmlName()
|
QName |
getXmlQName()
|
void |
set(Object targetBean,
Object propValue,
Class dclClass)
Set the object |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getXmlName()
public QName getXmlQName()
public Class getPropertyType()
public String getPropertyName()
public Object get(Object targetBean) throws InvocationTargetException, IllegalAccessException
targetBean
-
InvocationTargetException
IllegalAccessException
public void set(Object targetBean, Object propValue, Class dclClass) throws InvocationTargetException, IllegalAccessException, JAXBWrapperException
targetBean
- propValue
-
InvocationTargetException
IllegalAccessException
JAXBWrapperException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |