net.sf.oval.ogn
Interface ObjectGraphNavigator

All Known Implementing Classes:
ObjectGraphNavigatorDefaultImpl, ObjectGraphNavigatorJXPathImpl

public interface ObjectGraphNavigator

Author:
Sebastian Thomschke

Method Summary
 ObjectGraphNavigationResult navigateTo(Object root, String path)
          Navigates through the object graph starting at root object.
 

Method Detail

navigateTo

ObjectGraphNavigationResult navigateTo(Object root,
                                       String path)
                                       throws InvalidConfigurationException
Navigates through the object graph starting at root object.

Parameters:
root - the root object to start the navigation from
path - the object navigation path relative to the root object. The path format is implementation specific.
Returns:
the result of the navigation operation. null is returned if the target could not be determined, e.g. because of null values in the path.
Throws:
InvalidConfigurationException - if the given path is invalid, e.g. because of non-existing fields/properties named in the path.


Copyright © 2005–2015 The OVal Development Team. All rights reserved.