public class XMLRootElementUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,PropertyDescriptorPlus> |
createPropertyDescriptorMap(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 String |
getEnumValue(Enum myEnum) |
static QName |
getXmlRootElementQName(Class clazz) |
static QName |
getXmlRootElementQNameFromObject(Object obj) |
static QName |
getXmlTypeQName(Class clazz) |
public static QName getXmlRootElementQNameFromObject(Object obj)
clazz
- public static QName getXmlRootElementQName(Class clazz)
clazz
- public static String getEnumValue(Enum myEnum)
clazz
- public static QName getXmlTypeQName(Class clazz)
clazz
- public static Map<String,PropertyDescriptorPlus> createPropertyDescriptorMap(Class jaxbClass) throws NoSuchFieldException, IntrospectionException
jaxbClass
- NoSuchFieldException
IntrospectionException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.