com.cassinidivision.oce.rendering
Class OCE_Feature
java.lang.Object
com.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.
OCE_Feature
public OCE_Feature()
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.