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
- ObjectNoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
public static Object fromXSDListString(String xsdListString, Class type) throws IllegalArgumentException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException, ParseException, DatatypeConfigurationException
xsdListString
- type
- Class of returnInvocationTargetException
IllegalAccessException
InstantiationException
NoSuchMethodException
IllegalArgumentException
ParseException
DatatypeConfigurationException
public static Object fromStringArray(String[] items, Class type) throws Exception
Exception
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.