| java.lang.Object org.apache.axis2.databinding.utils.BeanUtil
BeanUtil | public class BeanUtil (Code) | | |
Method Summary | |
public static Object | deserialize(Class beanClass, OMElement beanElement, ObjectSupplier objectSupplier, String arrayLocalName) | public static Object | deserialize(Class beanClass, OMElement beanElement, MultirefHelper helper, ObjectSupplier objectSupplier) | public static Object[] | deserialize(OMElement response, Object[] javaTypes, ObjectSupplier objectSupplier) | public static OMElement | getOMElement(QName opName, Object[] args, QName partName, boolean qualifed, TypeTable typeTable) | public static XMLStreamReader | getPullParser(Object beanObject, QName beanName, TypeTable typeTable, boolean qualified, boolean processingDocLitBare) | public static XMLStreamReader | getPullParser(Object beanObject) | public static synchronized String | getUniquePrefix() | public static synchronized String | getUniquePrifix() | public static Object | processObject(OMElement omElement, Class classType, MultirefHelper helper, boolean isArrayType, ObjectSupplier objectSupplier) |
deserialize | public static Object deserialize(Class beanClass, OMElement beanElement, ObjectSupplier objectSupplier, String arrayLocalName) throws AxisFault(Code) | | |
deserialize | public static Object deserialize(Class beanClass, OMElement beanElement, MultirefHelper helper, ObjectSupplier objectSupplier) throws AxisFault(Code) | | |
deserialize | public static Object[] deserialize(OMElement response, Object[] javaTypes, ObjectSupplier objectSupplier) throws AxisFault(Code) | | To get JavaObjects from XML elemnt , the element most of the time contains only one element
in that case that element will be converted to the JavaType specified by the javaTypes array
The algo is as follows, get the childerns of the response element , and if it conatian more
than one element then check the retuen type of that element and conver that to corresponding
JavaType
Parameters: response - OMElement Parameters: javaTypes - Array of JavaTypes Array of objects throws: AxisFault - |
getOMElement | public static OMElement getOMElement(QName opName, Object[] args, QName partName, boolean qualifed, TypeTable typeTable)(Code) | | |
getPullParser | public static XMLStreamReader getPullParser(Object beanObject, QName beanName, TypeTable typeTable, boolean qualified, boolean processingDocLitBare)(Code) | | To Serilize Bean object this method is used, this will create an object array using given
bean object
|
getPullParser | public static XMLStreamReader getPullParser(Object beanObject)(Code) | | to get the pull parser for a given bean object , generate the wrpper element using class
name
Parameters: beanObject - |
getUniquePrefix | public static synchronized String getUniquePrefix()(Code) | | increments the namespace counter and returns a new prefix
unique prefix |
getUniquePrifix | public static synchronized String getUniquePrifix()(Code) | | |
processObject | public static Object processObject(OMElement omElement, Class classType, MultirefHelper helper, boolean isArrayType, ObjectSupplier objectSupplier) throws AxisFault(Code) | | |
|
|