Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet.ui
Class UIFactory

java.lang.Object
  |
  +--oracle.cabo.servlet.ui.UIFactory
Direct Known Subclasses:
DefaultUIFactory

public abstract class UIFactory
extends java.lang.Object

The UIFactory class is used by UIXPageBroker to instantiate UI objects. Clients should generally subclass DefaultUIFactory.

See Also:
DefaultUIFactory

Constructor Summary
UIFactory()
          Create a UIFactory.
 
Method Summary
abstract  PageRenderer createPageRenderer(BajaContext context, UINodePageDescription description)
           
abstract  RenderingContext createRenderingContext(BajaContext context, java.io.PrintWriter writer, Page page, java.lang.String mimeType)
          Create the rendering context for the page.
abstract  BaseUINodePageDescription createUINodePageDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFactory

public UIFactory()
Create a UIFactory.
Method Detail

createRenderingContext

public abstract RenderingContext createRenderingContext(BajaContext context,
                                                        java.io.PrintWriter writer,
                                                        Page page,
                                                        java.lang.String mimeType)
Create the rendering context for the page.
Parameters:
context - the BajaContext
out - a PrintWriter; this will always be null, and is passed only for backwards compatibility
page - the Page being rendered
mimeType - the desired content type for the page. This will usually be null, which will lets UIX correctly default the type for the user agent.

createUINodePageDescription

public abstract BaseUINodePageDescription createUINodePageDescription()

createPageRenderer

public abstract PageRenderer createPageRenderer(BajaContext context,
                                                UINodePageDescription description)

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.