|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes implement the URLHandler interface in order to relate rendering and other contextual information (of a general nature) to publishing policy-specific details.
Such details include the WOComponents required for publishing requests, and the URI locations of published content for given navigation policies.
Method Summary | |
WOComponent |
componentForContext(WOContext aContext,
RenderingContext renderingContext,
EOEditingContext anEditingContext)
Retrieve the required component for rendering, based upon information provided by the rendering context. |
String |
handlerURIWithContext(RenderingContext renderingContext)
Should return a relative URI to uniquely identify published content according to the contextual information provided. |
Method Detail |
public WOComponent componentForContext(WOContext aContext, RenderingContext renderingContext, EOEditingContext anEditingContext)
If necessary, the handler may include new information or update existing information in the rendering context prior to returning the component.
aContext
- The current WebObjects context (that the returned wocomponent will be registered with).renderingContext
- Rendering context for reading existing information/writing new information.anEditingContext
- An optional editing context (if required).
public String handlerURIWithContext(RenderingContext renderingContext)
renderingContext
- The rendering context from which to derive the URI.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |