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