org.apache.axis2.jaxws.message.databinding
Class XSDListUtils

java.lang.Object
  extended by org.apache.axis2.jaxws.message.databinding.XSDListUtils

public class XSDListUtils
extends java.lang.Object

Utilities to convert to/from xsd:list String to Object[]/List values.


Method Summary
static java.lang.Object fromXSDListString(java.lang.String xsdListString, java.lang.Class type)
          Convert from xsdListString to an array/list
static java.lang.String toXSDListString(java.lang.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

toXSDListString

public static java.lang.String toXSDListString(java.lang.Object container)
                                        throws java.lang.NoSuchMethodException,
                                               java.lang.IllegalArgumentException,
                                               java.lang.InstantiationException,
                                               java.lang.IllegalAccessException,
                                               java.lang.reflect.InvocationTargetException
Convert to String that can be used as an xsd:list content

Parameters:
container - Object
Returns:
xsd:list String
Throws:
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

fromXSDListString

public static java.lang.Object fromXSDListString(java.lang.String xsdListString,
                                                 java.lang.Class type)
                                          throws java.lang.IllegalArgumentException,
                                                 java.lang.NoSuchMethodException,
                                                 java.lang.InstantiationException,
                                                 java.lang.IllegalAccessException,
                                                 java.lang.reflect.InvocationTargetException,
                                                 java.text.ParseException,
                                                 javax.xml.datatype.DatatypeConfigurationException
Convert from xsdListString to an array/list

Parameters:
xsdListString -
type - Class of return
Returns:
Array or List
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.text.ParseException
javax.xml.datatype.DatatypeConfigurationException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.