From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/databinding/jaxb/XMLRootElementUtil.html | 290 +++++++++++++++++++++ 1 file changed, 290 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.html new file mode 100644 index 0000000000..4efa7ea6a5 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.html @@ -0,0 +1,290 @@ + + + + + + +XMLRootElementUtil + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.databinding.jaxb.XMLRootElementUtil
+
+
+
+
public class XMLRootElementUtil
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.util.Map<java.lang.String,JAXBPropertyDescriptor>createPropertyDescriptorMap(java.lang.Class<?> jaxbClass) + +
+          The JAXBClass has a set of bean properties each represented by a PropertyDescriptor Each of + the fields of the class has an associated xml name.
+static java.lang.StringgetEnumValue(java.lang.Enum<?> myEnum) + +
+           
+static javax.xml.namespace.QNamegetXmlRootElementQName(java.lang.Class<?> clazz) + +
+           
+static javax.xml.namespace.QNamegetXmlRootElementQNameFromObject(java.lang.Object obj) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+getXmlRootElementQNameFromObject

+
+public static javax.xml.namespace.QName getXmlRootElementQNameFromObject(java.lang.Object obj)
+
+
+
Parameters:
clazz - +
Returns:
namespace of root element qname or null if this is not object does not represent a + root element
+
+
+
+ +

+getXmlRootElementQName

+
+public static javax.xml.namespace.QName getXmlRootElementQName(java.lang.Class<?> clazz)
+
+
+
Parameters:
clazz - +
Returns:
namespace of root element qname or null if this is not object does not represent a + root element
+
+
+
+ +

+getEnumValue

+
+public static java.lang.String getEnumValue(java.lang.Enum<?> myEnum)
+
+
+
Parameters:
clazz - +
Returns:
namespace of root element qname or null if this is not object does not represent a root element
+
+
+
+ +

+createPropertyDescriptorMap

+
+public static java.util.Map<java.lang.String,JAXBPropertyDescriptor> createPropertyDescriptorMap(java.lang.Class<?> jaxbClass)
+                                                                                          throws java.lang.NoSuchFieldException,
+                                                                                                 java.beans.IntrospectionException
+
+
The JAXBClass has a set of bean properties each represented by a PropertyDescriptor Each of + the fields of the class has an associated xml name. The method returns a map where the key is + the xml name and value is the PropertyDescriptor +

+

+
Parameters:
jaxbClass - +
Returns:
map +
Throws: +
java.lang.NoSuchFieldException +
java.beans.IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3