public class XSDListUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
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
|
public static String toXSDListString(Object container) throws NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
container - ObjectNoSuchMethodExceptionIllegalArgumentExceptionInstantiationExceptionIllegalAccessExceptionInvocationTargetExceptionpublic static Object fromXSDListString(String xsdListString, Class type) throws IllegalArgumentException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException, ParseException, DatatypeConfigurationException
xsdListString - type - Class of returnInvocationTargetExceptionIllegalAccessExceptionInstantiationExceptionNoSuchMethodExceptionIllegalArgumentExceptionParseExceptionDatatypeConfigurationExceptionpublic static Object fromStringArray(String[] items, Class type) throws Exception
ExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.