com.thoughtworks.xstream.objecttree.reflection
Class ReflectionObjectGraph

java.lang.Object
  extended bycom.thoughtworks.xstream.objecttree.reflection.ReflectionObjectGraph
All Implemented Interfaces:
ObjectTree

public class ReflectionObjectGraph
extends java.lang.Object
implements ObjectTree


Constructor Summary
ReflectionObjectGraph(java.lang.Class rootType, ObjectFactory objectFactory)
           
ReflectionObjectGraph(java.lang.Object root, ObjectFactory objectFactory)
           
 
Method Summary
 void create(java.lang.Class type)
           
 java.lang.String[] fieldNames()
           
 java.lang.Object get()
           
 ObjectTree newStack(java.lang.Class type)
           
 ObjectTree newStack(java.lang.Object instance)
           
 void pop()
           
 void push(java.lang.String fieldName)
           
 void set(java.lang.Object value)
           
 java.lang.Class type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionObjectGraph

public ReflectionObjectGraph(java.lang.Object root,
                             ObjectFactory objectFactory)

ReflectionObjectGraph

public ReflectionObjectGraph(java.lang.Class rootType,
                             ObjectFactory objectFactory)
Method Detail

push

public void push(java.lang.String fieldName)
Specified by:
push in interface ObjectTree

pop

public void pop()
Specified by:
pop in interface ObjectTree

type

public java.lang.Class type()
Specified by:
type in interface ObjectTree

get

public java.lang.Object get()
Specified by:
get in interface ObjectTree

set

public void set(java.lang.Object value)
Specified by:
set in interface ObjectTree

create

public void create(java.lang.Class type)
Specified by:
create in interface ObjectTree

fieldNames

public java.lang.String[] fieldNames()
Specified by:
fieldNames in interface ObjectTree

newStack

public ObjectTree newStack(java.lang.Class type)
Specified by:
newStack in interface ObjectTree

newStack

public ObjectTree newStack(java.lang.Object instance)
Specified by:
newStack in interface ObjectTree


Copyright © 2003 ThoughtWorks, Inc. All Rights Reserved.