|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.databinding.utils.BeanUtil
public class BeanUtil
Constructor Summary | |
---|---|
BeanUtil()
|
Method Summary | |
---|---|
static Object |
deserialize(Class beanClass,
org.apache.axiom.om.OMElement beanElement,
MultirefHelper helper,
ObjectSupplier objectSupplier)
|
static Object |
deserialize(Class beanClass,
org.apache.axiom.om.OMElement beanElement,
ObjectSupplier objectSupplier,
String arrayLocalName)
|
static Object[] |
deserialize(org.apache.axiom.om.OMElement response,
Object[] javaTypes,
ObjectSupplier objectSupplier)
To get JavaObjects from XML element , 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 |
static Object[] |
deserialize(org.apache.axiom.om.OMElement response,
Object[] javaTypes,
ObjectSupplier objectSupplier,
String[] parameterNames,
Method method)
|
static org.apache.axiom.om.OMElement |
getOMElement(QName opName,
Object[] args,
QName partName,
boolean qualifed,
TypeTable typeTable)
|
static XMLStreamReader |
getPullParser(Object beanObject)
to get the pull parser for a given bean object , generate the wrpper element using class name |
static XMLStreamReader |
getPullParser(Object beanObject,
QName beanName,
TypeTable typeTable,
boolean qualified,
boolean processingDocLitBare)
To Serilize Bean object this method is used, this will create an object array using given bean object |
static String |
getUniquePrefix()
increments the namespace counter and returns a new prefix |
static String |
getUniquePrifix()
Deprecated. Please use getUniquePrefix |
static Object |
processObject(org.apache.axiom.om.OMElement omElement,
Class classType,
MultirefHelper helper,
boolean isArrayType,
ObjectSupplier objectSupplier,
Type generictype)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanUtil()
Method Detail |
---|
public static XMLStreamReader getPullParser(Object beanObject, QName beanName, TypeTable typeTable, boolean qualified, boolean processingDocLitBare)
public static XMLStreamReader getPullParser(Object beanObject)
beanObject
- public static Object deserialize(Class beanClass, org.apache.axiom.om.OMElement beanElement, ObjectSupplier objectSupplier, String arrayLocalName) throws AxisFault
AxisFault
public static Object deserialize(Class beanClass, org.apache.axiom.om.OMElement beanElement, MultirefHelper helper, ObjectSupplier objectSupplier) throws AxisFault
AxisFault
public static Object[] deserialize(org.apache.axiom.om.OMElement response, Object[] javaTypes, ObjectSupplier objectSupplier) throws AxisFault
response
- OMElementjavaTypes
- Array of JavaTypes
AxisFault
public static Object[] deserialize(org.apache.axiom.om.OMElement response, Object[] javaTypes, ObjectSupplier objectSupplier, String[] parameterNames, Method method) throws AxisFault
AxisFault
public static Object processObject(org.apache.axiom.om.OMElement omElement, Class classType, MultirefHelper helper, boolean isArrayType, ObjectSupplier objectSupplier, Type generictype) throws AxisFault
AxisFault
public static org.apache.axiom.om.OMElement getOMElement(QName opName, Object[] args, QName partName, boolean qualifed, TypeTable typeTable)
public static String getUniquePrifix()
public static String getUniquePrefix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |