sos.reports
Interface ViewFactory

All Known Implementing Classes:
DefaultReportEditorKit.DefaultViewFactory

public interface ViewFactory

An object that creates Views given a Element.

Since:
1.0

Method Summary
 View createView(Element element)
          Creates and returns a view of the specified report element.
 

Method Detail

createView

public View createView(Element element)
Creates and returns a view of the specified report element. The new view should return element if getElement is invoked on it.

Parameters:
element - the element for which to create a view
Returns:
a view of element
Throws:
java.lang.NullPointerException - if element is null
See Also:
View.getElement()


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.