Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
txXSLTParamContext Class Reference
Inheritance diagram for txXSLTParamContext:
Inheritance graph
[legend]
Collaboration diagram for txXSLTParamContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 txXSLTParamContext (txNamespaceMap *aResolver, txXPathNode &aContext, txResultRecycler *aRecycler)
nsresult resolveNamespacePrefix (nsIAtom *aPrefix, PRInt32 &aID)
nsresult resolveFunctionCall (nsIAtom *aName, PRInt32 aID, FunctionCall *&aFunction)
PRBool caseInsensitiveNameTests ()
 Should nametests parsed in this context be case-sensitive.
void SetErrorOffset (PRUint32 aOffset)
nsresult getVariable (PRInt32 aNamespace, nsIAtom *aLName, txAExprResult *&aResult)
PRBool isStripSpaceAllowed (const txXPathNode &aNode)
voidgetPrivateContext ()
 Returns a pointer to the private context.
txResultRecyclerrecycler ()
void receiveError (const nsAString &aMsg, nsresult aRes)
const txXPathNodegetContextNode ()
PRUint32 size ()
PRUint32 position ()

Private Attributes

txNamespaceMapmResolver
txXPathNodemContext
txResultRecyclermRecycler

Detailed Description

Definition at line 341 of file txMozillaXSLTProcessor.cpp.


Constructor & Destructor Documentation

txXSLTParamContext::txXSLTParamContext ( txNamespaceMap aResolver,
txXPathNode aContext,
txResultRecycler aRecycler 
) [inline]

Definition at line 345 of file txMozillaXSLTProcessor.cpp.

        : mResolver(aResolver),
          mContext(aContext),
          mRecycler(aRecycler)
    {
    }

Member Function Documentation

Should nametests parsed in this context be case-sensitive.

Implements txIParseContext.

Definition at line 365 of file txMozillaXSLTProcessor.cpp.

    {
        return PR_FALSE;
    }

Implements txIEvalContext.

Definition at line 395 of file txMozillaXSLTProcessor.cpp.

    {
      return mContext;
    }

Returns a pointer to the private context.

Implements txIMatchContext.

Definition at line 384 of file txMozillaXSLTProcessor.cpp.

    {
        return nsnull;
    }
nsresult txXSLTParamContext::getVariable ( PRInt32  aNamespace,
nsIAtom aLName,
txAExprResult *&  aResult 
) [inline, virtual]

Implements txIMatchContext.

Definition at line 374 of file txMozillaXSLTProcessor.cpp.

    {
        aResult = nsnull;
        return NS_ERROR_INVALID_ARG;
    }

Implements txIMatchContext.

Definition at line 380 of file txMozillaXSLTProcessor.cpp.

    {
        return PR_FALSE;
    }
PRUint32 txXSLTParamContext::position ( ) [inline, virtual]

Implements txIEvalContext.

Definition at line 403 of file txMozillaXSLTProcessor.cpp.

    {
      return 1;
    }
void txXSLTParamContext::receiveError ( const nsAString &  aMsg,
nsresult  aRes 
) [inline, virtual]

Implements txIMatchContext.

Definition at line 392 of file txMozillaXSLTProcessor.cpp.

    {
    }

Implements txIMatchContext.

Definition at line 388 of file txMozillaXSLTProcessor.cpp.

    {
        return mRecycler;
    }
nsresult txXSLTParamContext::resolveFunctionCall ( nsIAtom aName,
PRInt32  aID,
FunctionCall *&  aFunction 
) [inline, virtual]

Implements txIParseContext.

Definition at line 360 of file txMozillaXSLTProcessor.cpp.

nsresult txXSLTParamContext::resolveNamespacePrefix ( nsIAtom aPrefix,
PRInt32 aID 
) [inline, virtual]

Implements txIParseContext.

Definition at line 354 of file txMozillaXSLTProcessor.cpp.

Here is the call graph for this function:

void txXSLTParamContext::SetErrorOffset ( PRUint32  aOffset) [inline, virtual]

Implements txIParseContext.

Definition at line 369 of file txMozillaXSLTProcessor.cpp.

    {
    }
PRUint32 txXSLTParamContext::size ( ) [inline, virtual]

Implements txIEvalContext.

Definition at line 399 of file txMozillaXSLTProcessor.cpp.

    {
      return 1;
    }

Member Data Documentation

Definition at line 410 of file txMozillaXSLTProcessor.cpp.

Definition at line 411 of file txMozillaXSLTProcessor.cpp.

Definition at line 409 of file txMozillaXSLTProcessor.cpp.


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