Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XSLT/KeyTable.hpp>
Public Types | |
typedef XalanVector< KeyDeclaration > | KeyDeclarationVectorType |
typedef NodeListMapTypeDefinitions | NodeListMapType |
typedef XalanMap< XalanQNameByReference, NodeListMapType > | KeysMapType |
Public Member Functions | |
KeyTable (XalanNode *startNode, const PrefixResolver &resolver, const KeyDeclarationVectorType &keyDeclarations, StylesheetExecutionContext &executionContext) | |
Build a keys table. More... | |
virtual | ~KeyTable () |
const MutableNodeRefList * | getNodeSetByKey (const XalanQName &qname, const XalanDOMString &ref) const |
Given a valid element key, return the corresponding node list. More... | |
Static Public Member Functions | |
static KeyTable * | create (MemoryManager &theManager, XalanNode *startNode, const PrefixResolver &resolver, const KeyDeclarationVectorType &keyDeclarations, StylesheetExecutionContext &executionContext) |
Definition at line 72 of file KeyTable.hpp.
Definition at line 76 of file KeyTable.hpp.
Definition at line 80 of file KeyTable.hpp.
Definition at line 78 of file KeyTable.hpp.
xalanc::KeyTable::KeyTable | ( | XalanNode * | startNode, |
const PrefixResolver & | resolver, | ||
const KeyDeclarationVectorType & | keyDeclarations, | ||
StylesheetExecutionContext & | executionContext | ||
) |
Build a keys table.
startNode | node to start iterating from to build the keys index |
nscontext | stylesheet's namespace context |
keyDeclarations | stylesheet's xsl:key declarations |
executionContext | current execution context |
|
virtual |
|
static |
const MutableNodeRefList* xalanc::KeyTable::getNodeSetByKey | ( | const XalanQName & | qname, |
const XalanDOMString & | ref | ||
) | const |
Given a valid element key, return the corresponding node list.
If the name was not declared with xsl:key, this will return null, the identifier is not found, it will return an empty node set, otherwise it will return a nodeset of nodes.
name | name of the key, which must match the 'name' attribute on xsl:key |
ref | value that must match the value found by the 'match' attribute on xsl:key |
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:32 for Xalan-C++ API Reference by 1.8.17