public class HolderUtils extends Object
Constructor and Description |
---|
HolderUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
createHolderInstance(Object value,
Class<?> holderType)
Creates a JAX-WS or JAX-RPC holder instance.
|
static Object |
getHolderValue(Object holder)
Gets the value object of a JAX-WS or JAX-RPC holder instance.
|
static Class<?> |
getJAXRPCHolderType(Class<?> valueType)
Gets the JAX-RPC holder for a specific value type.
|
static Class |
getValueType(Class holderClass)
Gets the value type of a JAX-RPC holder.
|
static Class |
getValueType(Type holderType)
Gets the value type of a JAX-WS or JAX-RPC holder.
|
static boolean |
isHolderType(Class<?> javaType)
True if the given type is a holder.
|
static boolean |
isHolderType(Type javaType)
True if the given type is a holder.
|
static void |
setHolderValue(Object holder,
Object value)
Sets the value object of a JAX-WS or JAX-RPC holder instance.
|
public static boolean isHolderType(Class<?> javaType)
public static boolean isHolderType(Type javaType)
public static Class<?> getJAXRPCHolderType(Class<?> valueType)
valueType
- the valuepublic static Class getValueType(Type holderType)
holderType
- the generic type for JAX-WS, a standard class for JAX-RPCpublic static Class getValueType(Class holderClass)
holderType
- the generic type for JAX-WS, a standard class for JAX-RPCpublic static Object getHolderValue(Object holder)
holder
- the holder object instancepublic static void setHolderValue(Object holder, Object value)
holder
- the holder instancevalue
- the value, can be nullCopyright © 2013 JBoss by Red Hat. All Rights Reserved.