oscar.Handler

The oscar.Handler object defines the Oscar Handler namespace.  Handler objects are used to execute actions (such as WFS AJAX requests) using a {<OpenLayers.Geometry>} object and a {oscar.ox.Theme} object.

Summary
oscar.HandlerThe oscar.Handler object defines the Oscar Handler namespace.
Constructor
oscar.HandlerInitialize the handler object.
Functions
executeThe execute method encapsulates the actual job to be done.
Constants
CLASS_NAME - oscar.Handler

Constructor

oscar.Handler

Initialize the handler object.

Parameters: options{Object} An optional object whose properties will be set on this instance.

Functions

execute

execute : function(geom,
theme)

The execute method encapsulates the actual job to be done.  All subclasses of the Oscar Handler should override this method to complete the its own business logic.

Parameters: geom{<OpenLayers.Geometry>} object. theme - {oscar.ox.Theme} object.

Constants

CLASS_NAME - oscar.Handler

execute : function(geom,
theme)
The execute method encapsulates the actual job to be done.
This class represents a Theme from Oscar eXchange Format