|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider
Instantiates a new object on the Sun JVM by bypassing the constructor (meaning code in the constructor will never be executed and parameters do not have to be known). This is the same method used by the internals of standard Java serialization, but relies on internal Sun code that may not be present on all JVMs.
Nested Class Summary |
Nested classes inherited from class com.thoughtworks.xstream.converters.reflection.ReflectionProvider |
ReflectionProvider.Block |
Constructor Summary | |
Sun14ReflectionProvider()
|
Method Summary | |
java.lang.Object |
newInstance(java.lang.Class type)
|
Methods inherited from class com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider |
eachSerializableField, getFieldType, readField, writeField |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sun14ReflectionProvider()
Method Detail |
public java.lang.Object newInstance(java.lang.Class type)
newInstance
in interface ReflectionProvider
newInstance
in class PureJavaReflectionProvider
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |