Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

px7xslt Class Reference

#include <XSLT.h>

Inheritance diagram for px7xslt

Inheritance graph

[legend]
Collaboration diagram for px7xslt:

Collaboration graph

[legend]
List of all members.

Public Methods

virtual NS_DECL_ISUPPORTS
nsresult 
NewPage (px7IChain **_retval)
 px7xslt ()
virtual ~px7xslt ()
StylesheetRoot* findStylesheet (const PRUnichar* filename)
 Find an XSL stylesheet in the cache. More...


Static Public Methods

px7xslt* GetSingleton ()
void FreeSingleton ()

Static Public Attributes

const bool m_optimize = true

Private Types

typedef std::map<const PRUnichar*,
compiledSheet*, comparePRU
mapStringStylesheet

Private Attributes

XSLTInit xsltInit
mapStringStylesheet m_xslCache
PRLock* m_mStylesheet

Member Typedef Documentation

typedef std::map<const PRUnichar*, compiledSheet*, comparePRU> px7xslt::mapStringStylesheet [private]
 

Definition at line 51 of file XSLT.h.


Constructor & Destructor Documentation

px7xslt::px7xslt ( )
 

Definition at line 40 of file XSLT.cpp.

Referenced by GetSingleton().

px7xslt::~px7xslt ( ) [virtual]
 

Definition at line 61 of file XSLT.cpp.


Member Function Documentation

void px7xslt::FreeSingleton ( ) [static]
 

Definition at line 84 of file XSLT.cpp.

Referenced by PR_STATIC_CALLBACK().

px7xslt * px7xslt::GetSingleton ( ) [static]
 

Definition at line 73 of file XSLT.cpp.

NS_IMETHODIMP px7xslt::NewPage ( px7IChain ** _retval ) [virtual]
 

Definition at line 94 of file XSLT.cpp.

StylesheetRoot * px7xslt::findStylesheet ( const PRUnichar * filename )
 

Find an XSL stylesheet in the cache.

If the stylesheet is not cached, find the source file for it, compile it and place it in the cache. Cached stylesheets must be cloned since using them is a destructive process.

Parameters:
String   fileName Fully qualified filename of the stylesheet

Definition at line 120 of file XSLT.cpp.


Member Data Documentation

PRLock * px7xslt::m_mStylesheet [private]
 

Definition at line 53 of file XSLT.h.

const bool px7xslt::m_optimize = true [static]
 

Definition at line 34 of file XSLT.h.

mapStringStylesheet px7xslt::m_xslCache [private]
 

Definition at line 52 of file XSLT.h.

XSLTInit px7xslt::xsltInit [private]
 

Definition at line 49 of file XSLT.h.


The documentation for this class was generated from the following files:
Generated at Tue Sep 12 18:45:26 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000