Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
txStripSpaceTest Class Reference

txStripSpaceTest holds both an txNameTest and a bool for use in whitespace stripping. More...

#include <txStylesheet.h>

Collaboration diagram for txStripSpaceTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 txStripSpaceTest (nsIAtom *aPrefix, nsIAtom *aLocalName, PRInt32 aNSID, MBool stripSpace)
MBool matches (const txXPathNode &aNode, txIMatchContext *aContext)
MBool stripsSpace ()
double getDefaultPriority ()

Protected Attributes

txNameTest mNameTest
MBool mStrips

Detailed Description

txStripSpaceTest holds both an txNameTest and a bool for use in whitespace stripping.

Definition at line 212 of file txStylesheet.h.


Constructor & Destructor Documentation

txStripSpaceTest::txStripSpaceTest ( nsIAtom aPrefix,
nsIAtom aLocalName,
PRInt32  aNSID,
MBool  stripSpace 
) [inline]

Definition at line 214 of file txStylesheet.h.

        : mNameTest(aPrefix, aLocalName, aNSID, txXPathNodeType::ELEMENT_NODE),
          mStrips(stripSpace)
    {
    }

Member Function Documentation

Definition at line 229 of file txStylesheet.h.

Here is the call graph for this function:

Here is the caller graph for this function:

MBool txStripSpaceTest::matches ( const txXPathNode aNode,
txIMatchContext aContext 
) [inline]

Definition at line 221 of file txStylesheet.h.

                                                                       {
        return mNameTest.matches(aNode, aContext);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 225 of file txStylesheet.h.

                        {
        return mStrips;
    }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 234 of file txStylesheet.h.

Definition at line 235 of file txStylesheet.h.


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