public class ConvertUtils extends Object
| Constructor and Description |
|---|
ConvertUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convert(Object arg,
Class destClass)
Utility function to convert an Object to some desired Class.
|
static boolean |
isConvertable(Object obj,
Class dest)
This method should return true if the convert method will succeed.
|
public static boolean isConvertable(Object obj, Class dest)
obj - source object or classdest - destination classpublic static Object convert(Object arg, Class destClass) throws javax.xml.ws.WebServiceException
arg - the array to convertdestClass - the actual class we wantjavax.xml.ws.WebServiceExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.