org.springframework.richclient.application
Interface ViewDescriptorRegistry

Show UML class diagram
All Known Implementing Classes:
BeanFactoryViewDescriptorRegistry, SimpleViewDescriptorRegistry

public interface ViewDescriptorRegistry

A registry for ViewDescriptor definitions.

Author:
Keith Donald

Method Summary
 ViewDescriptor getViewDescriptor(String viewDescriptorId)
          Returns the view descriptor with the given identifier, or null if no such descriptor exists in the registry.
 ViewDescriptor[] getViewDescriptors()
          Returns an array of all the view descriptors in the registry.
 

Method Detail

getViewDescriptors

ViewDescriptor[] getViewDescriptors()
Returns an array of all the view descriptors in the registry.

Returns:
An array of all the view descriptors in the registry. The array may be empty but will never be null.

getViewDescriptor

ViewDescriptor getViewDescriptor(String viewDescriptorId)
Returns the view descriptor with the given identifier, or null if no such descriptor exists in the registry.

Parameters:
viewDescriptorId - The id of the view descriptor to be returned.
Returns:
The view descriptor with the given id, or null.
Throws:
IllegalArgumentException - if viewDescriptorId is null.


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.