From 8751ca0a45b9343f37161c9f762fb4c485944a5f Mon Sep 17 00:00:00 2001 From: beckerdo Date: Sun, 1 Feb 2009 20:45:55 +0000 Subject: TUSCANY-2485 Add JavaDocs for Tuscany 1.4 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@739833 13f79535-47bb-0310-9956-ffa450edef68 --- .../databinding/jaxb/JAXBPropertyDescriptor.html | 412 +++++++++++++++++++++ 1 file changed, 412 insertions(+) create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.html (limited to 'site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.html') diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.html new file mode 100644 index 0000000000..3b131ff721 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.html @@ -0,0 +1,412 @@ + + + + + + +JAXBPropertyDescriptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.databinding.jaxb +
+Class JAXBPropertyDescriptor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.databinding.jaxb.JAXBPropertyDescriptor
+
+
+
All Implemented Interfaces:
java.lang.Comparable<JAXBPropertyDescriptor>
+
+
+
+
public class JAXBPropertyDescriptor
extends java.lang.Object
implements java.lang.Comparable<JAXBPropertyDescriptor>
+ + +

+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
+ intcompareTo(JAXBPropertyDescriptor o) + +
+           
+ java.lang.Objectget(java.lang.Object targetBean) + +
+          Get the object
+ java.lang.StringgetPropertyName() + +
+           
+ java.lang.Class<?>getPropertyType() + +
+           
+ java.lang.StringgetXmlName() + +
+           
+ javax.xml.namespace.QNamegetXmlQName() + +
+           
+ voidset(java.lang.Object targetBean, + java.lang.Object propValue) + +
+          Set the object
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+compareTo

+
+public int compareTo(JAXBPropertyDescriptor o)
+
+
+
Specified by:
compareTo in interface java.lang.Comparable<JAXBPropertyDescriptor>
+
+
+
+
+
+
+ +

+getXmlName

+
+public java.lang.String getXmlName()
+
+
+
+
+
+ +
Returns:
xmlname
+
+
+
+ +

+getXmlQName

+
+public javax.xml.namespace.QName getXmlQName()
+
+
+
+
+
+
+
+
+
+ +

+getPropertyType

+
+public java.lang.Class<?> getPropertyType()
+
+
+
+
+
+ +
Returns:
property type
+
+
+
+ +

+getPropertyName

+
+public java.lang.String getPropertyName()
+
+
+
+
+
+ +
Returns:
property name
+
+
+
+ +

+get

+
+public java.lang.Object get(java.lang.Object targetBean)
+                     throws java.lang.reflect.InvocationTargetException,
+                            java.lang.IllegalAccessException
+
+
Get the object +

+

+
+
+
+
Parameters:
targetBean - +
Returns:
Object for this property or null +
Throws: +
java.lang.reflect.InvocationTargetException +
java.lang.IllegalAccessException
+
+
+
+ +

+set

+
+public void set(java.lang.Object targetBean,
+                java.lang.Object propValue)
+         throws java.lang.reflect.InvocationTargetException,
+                java.lang.IllegalAccessException,
+                JAXBWrapperException
+
+
Set the object +

+

+
+
+
+
Parameters:
targetBean -
propValue - +
Throws: +
java.lang.reflect.InvocationTargetException +
java.lang.IllegalAccessException +
JAXBWrapperException
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3