ERXClickToOpenSupport Class Reference

Collaboration diagram for ERXClickToOpenSupport:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static boolean isEnabled ()
static void postProcessResponse (Class component, WOResponse response, WOContext context, boolean clickToOpenEnabled)
static void preProcessResponse (WOResponse response, WOContext context, boolean clickToOpenEnabled)

Static Private Attributes

static Boolean _enabled
static final String _marker = "<<CLICK_TO_OPEN_MARKER>>"
static Pattern _tagPattern = Pattern.compile("<([a-z][a-z0-9]*:)?[a-z][a-z0-9]*\\s*", Pattern.CASE_INSENSITIVE | Pattern.MULTILINE)


Member Function Documentation

static boolean isEnabled (  )  [static]

Returns whether or not click-to-open support is enabled.

Returns:
whether or not click-to-open support is enabled

static void postProcessResponse ( Class  component,
WOResponse  response,
WOContext  context,
boolean  clickToOpenEnabled 
) [static]

Called after super.appendToResponse for click-to-open support.

Parameters:
component the component being processed
response the response
context the context
clickToOpenEnabled if false, this method is basically a no-op; if true, it processes the response

static void preProcessResponse ( WOResponse  response,
WOContext  context,
boolean  clickToOpenEnabled 
) [static]

Called before super.appendToResponse for click-to-open support.

Parameters:
response the response
context the context
clickToOpenEnabled if false, this method is basically a no-op; if true, it processes the response


Member Data Documentation

Boolean _enabled [static, private]

Boolean that controls whether or not click-to-open support is enabled.

final String _marker = "<<CLICK_TO_OPEN_MARKER>>" [static, private]

The marker string that is temporarily written into the buffer for click-to-open support.

Pattern _tagPattern = Pattern.compile("<([a-z][a-z0-9]*:)?[a-z][a-z0-9]*\\s*", Pattern.CASE_INSENSITIVE | Pattern.MULTILINE) [static, private]

Shared pattern for the click-to-open parser.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:03 2012 for Project Wonder by  doxygen 1.5.8