com.cassinidivision.oce.rendering
Class OCE_Feature

java.lang.Object
  extended bycom.cassinidivision.oce.rendering.OCE_Feature
All Implemented Interfaces:
URLHandler

public class OCE_Feature
extends Object
implements URLHandler

The default OCE URL handling class, that utilizes the default OCE navigation framework for the purposes of rendering content.


Constructor Summary
OCE_Feature()
           
 
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 aContext)
          Should return a relative URI to uniquely identify published content according to the contextual information provided.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCE_Feature

public OCE_Feature()
Method Detail

componentForContext

public WOComponent componentForContext(WOContext aContext,
                                       RenderingContext renderingContext,
                                       EOEditingContext anEditingContext)
Description copied from interface: URLHandler
Retrieve the required component for rendering, based upon information provided by the rendering context.

If necessary, the handler may include new information or update existing information in the rendering context prior to returning the component.

Specified by:
componentForContext in interface URLHandler
Parameters:
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).
Returns:
The new WOComponent rendering instance.

handlerURIWithContext

public String handlerURIWithContext(RenderingContext aContext)
Description copied from interface: URLHandler
Should return a relative URI to uniquely identify published content according to the contextual information provided.

Specified by:
handlerURIWithContext in interface URLHandler
Parameters:
aContext - The rendering context from which to derive the URI.
Returns:
String representing a unique relative URI.