|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.datasource.jaxb.XSDListUtils
public class XSDListUtils
Utilities to convert to/from xsd:list String to Object[]/List values.
| Method Summary | |
|---|---|
static Object |
fromStringArray(String[] items,
Class type)
|
static Object |
fromXSDListString(String xsdListString,
Class type)
Convert from xsdListString to an array/list |
static String[] |
toStringArraay(Object container)
|
static String |
toXSDListString(Object container)
Convert to String that can be used as an xsd:list content |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String toXSDListString(Object container)
throws NoSuchMethodException,
IllegalArgumentException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
container - Object
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
public static Object fromXSDListString(String xsdListString,
Class type)
throws IllegalArgumentException,
NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
ParseException,
DatatypeConfigurationException
xsdListString - type - Class of return
InvocationTargetException
IllegalAccessException
InstantiationException
NoSuchMethodException
IllegalArgumentException
ParseException
DatatypeConfigurationException
public static Object fromStringArray(String[] items,
Class type)
throws Exception
Exception
public static String[] toStringArraay(Object container)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||