com.jproxy.proxy
Class Wraper

java.lang.Object
  extended bycom.jproxy.proxy.Wraper
All Implemented Interfaces:
java.io.Serializable

public class Wraper
extends java.lang.Object
implements java.io.Serializable

Class that keeps wraper for primitive type and mehod that recreates original value of primitive type. It also has a static method-helpers.

See Also:
Serialized Form

Field Summary
 java.lang.Object defaultValue
          default value
 java.lang.Class primitiveType
          primitive type
 java.lang.Class type
          Wraper for primitiveType
 java.lang.reflect.Method unwraper
          reflection method for recreation of original value of primitive type
 
Constructor Summary
Wraper(java.lang.Class t, java.lang.Class pt, java.lang.reflect.Method u, java.lang.Object defVal)
          Constructor for Wraper
 
Method Summary
static java.lang.Class[] getTypes(java.lang.Object[] objs, boolean[] isPrimitives)
           
static Wraper getWraper(java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.Class type
Wraper for primitiveType


primitiveType

public java.lang.Class primitiveType
primitive type


unwraper

public java.lang.reflect.Method unwraper
reflection method for recreation of original value of primitive type


defaultValue

public java.lang.Object defaultValue
default value

Constructor Detail

Wraper

public Wraper(java.lang.Class t,
              java.lang.Class pt,
              java.lang.reflect.Method u,
              java.lang.Object defVal)
Constructor for Wraper

Parameters:
t - Wraper class for primitive type
pt - Primitive Type Class
u - method for recreation of value of primitive type from object
defVal - default value that is wraper of primitive type
Method Detail

getTypes

public static java.lang.Class[] getTypes(java.lang.Object[] objs,
                                         boolean[] isPrimitives)

getWraper

public static Wraper getWraper(java.lang.Class c)


Copyright © JProxy LLC. All Rights Reserved.