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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIFactory
public UIFactory()
- Create a UIFactory.
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)