ERXStyleSheet Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXStyleSheet:

Collaboration graph
[legend]

List of all members.

Classes

class  Sheet

Public Member Functions

void appendToResponse (WOResponse originalResponse, WOContext wocontext)
 ERXStyleSheet (WOContext aContext)
String mediaType ()
String rel ()
String styleSheetFrameworkName ()
String styleSheetKey ()
String styleSheetName ()
String styleSheetUrl ()
String title ()

Static Public Member Functions

static boolean shouldCloseLinkTags ()

Static Public Attributes

static final Logger log = Logger.getLogger( ERXStyleSheet.class )

Private Member Functions

NSArray< Stringlanguages ()

Static Private Member Functions

static ERXExpiringCache
< String, WOResponse > 
cache (WOSession session)


Constructor & Destructor Documentation

ERXStyleSheet ( WOContext  aContext  ) 

Public constructor

Parameters:
aContext a context


Member Function Documentation

void appendToResponse ( WOResponse  originalResponse,
WOContext  wocontext 
)

Appends the &ltlink> tag, either by using the style sheet name and framework or by using the component content and then generating a link to it.

Reimplemented from ERXNonSynchronizingComponent.

static ERXExpiringCache<String, WOResponse> cache ( WOSession  session  )  [static, private]

NSArray<String> languages (  )  [private]

Returns the languages for the request.

String mediaType (  ) 

Specifies on what device the linked document will be displayed.

String rel (  ) 

Specifies the relationship between the current document and the linked document.

static boolean shouldCloseLinkTags (  )  [static]

Returns whether or not XHTML link tags should be used. If false, then link tags will not be closed, which is more compatible with certain browser parsers. Set the 'er.extensions.ERXStyleSheet.xhtml' to control this property.

Returns:
true of link tags should be closed, false otherwise

String styleSheetFrameworkName (  ) 

Returns the style sheet framework name either resolved via the binding framework.

Returns:
style sheet framework name

String styleSheetKey (  ) 

Returns key under which the stylesheet should be placed in the cache. If no key is given, the session id is used.

Returns:
style sheet framework name

String styleSheetName (  ) 

Returns the style sheet name either resolved via the binding filename.

Returns:
style sheet name

String styleSheetUrl (  ) 

returns the complete url to the style sheet.

Returns:
style sheet url

String title (  ) 

Specifies extra information about an element.


Member Data Documentation

final Logger log = Logger.getLogger( ERXStyleSheet.class ) [static]

logging support


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

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