|
Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XSLT/ElemTemplateElement.hpp>
Classes | |
| class | LocatorProxy |
Public Member Functions | |
| ElemTemplateElement (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, XalanFileLoc lineNumber, XalanFileLoc columnNumber, int xslToken) | |
| Construct a template element instance. More... | |
| ElemTemplateElement (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, int xslToken, const XalanDOMString &baseURI=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), XalanFileLoc lineNumber=XalanLocator::getUnknownValue(), XalanFileLoc columnNumber=XalanLocator::getUnknownValue()) | |
| Special constructor used by dummy elements which do not exist in the final stylesheet. More... | |
| virtual | ~ElemTemplateElement () |
| virtual const Locator * | getLocator () const |
| Get the Locator for the node. More... | |
| virtual bool | isAttrOK (const XalanDOMChar *attrName, const AttributeListType &atts, XalanSize_t which, StylesheetConstructionContext &constructionContext) const |
| See if this is a xmlns attribute or in a non-XSLT. More... | |
| bool | processSpaceAttr (const XalanDOMChar *elementName, const XalanDOMChar *aname, const AttributeListType &atts, XalanSize_t which, StylesheetConstructionContext &constructionContext) |
| Tell whether or not this is a xml:space attribute and, if so, process it. More... | |
| virtual const ElemTemplateElement * | startElement (StylesheetExecutionContext &executionContext) const |
| Completes "pre-processing" before any sub-elements are invoked (i.e. More... | |
| virtual void | endElement (StylesheetExecutionContext &executionContext) const |
| Completes "post-processing" afer any sub-elements are invoked (i.e. More... | |
| virtual void | execute (StylesheetExecutionContext &executionContext) const |
| Execute the element. More... | |
| virtual void | executeChildren (StylesheetExecutionContext &executionContext) const |
| Execute the children of this element. More... | |
| virtual const ElemTemplateElement * | getInvoker (StylesheetExecutionContext &executionContext) const |
| Returns the element that invoked this element. More... | |
| int | getXSLToken () const |
| virtual bool | isWhitespace () const |
| Tell if the element will generate text which is XML whitespace. More... | |
| virtual const XalanDOMString & | getElementName () const =0 |
| Get a string for the name of the element. More... | |
| virtual const XalanQName & | getNameAttribute () const |
| Get the QName associated with any name attribute of this element. More... | |
| virtual void | addToStylesheet (StylesheetConstructionContext &constructionContext, Stylesheet &theStylesheet) |
| Called during compilation when an instance is not parented by another element, and thus, is a child of the stylesheet. More... | |
| virtual void | processSortElement (StylesheetConstructionContext &constructionContext, Stylesheet &theStylesheet, const AttributeListType &atts, const Locator *locator=0) |
| Called during compilation to process xsl:sort elements in the stylesheet. More... | |
| virtual void | setDefaultTemplate (bool value) |
| Sets a flag indicating this is the default template. More... | |
| const NamespacesHandler & | getNamespacesHandler () const |
| Get the namespaces handler for this element. More... | |
| const Stylesheet & | getStylesheet () const |
| Retrieve the stylesheet from which this element comes. More... | |
| void | setFinishedConstruction (bool fValue) |
| Set the flag indicating construction of the element is completed. More... | |
| bool | getFinishedConstruction () const |
| Get the flag indicating construction of the element is completed. More... | |
| virtual void | postConstruction (StylesheetConstructionContext &constructionContext, const NamespacesHandler &theParentHandler) |
| Called after construction is completed. More... | |
| virtual ElemTemplateElement * | getFirstChildElem () const |
| Get the first child. More... | |
| virtual const ElemTemplateElement * | beginExecuteChildren (StylesheetExecutionContext &executionContext) const |
| Method to initiate the execution of the element's children. More... | |
| virtual void | endExecuteChildren (StylesheetExecutionContext &executionContext) const |
| Method to indicate the execution of the element's children is complete. More... | |
| const ElemTemplateElement * | beginChildrenToString (StylesheetExecutionContext &executionContext, XalanDOMString &result) const |
| Method to initiate output from the children to a string. More... | |
| void | endChildrenToString (StylesheetExecutionContext &executionContext) const |
| Method to indicate string output from the children is complete. More... | |
| virtual void | setFirstChildElem (ElemTemplateElement *theChild) |
| Set the first child. More... | |
| virtual ElemTemplateElement * | getLastChildElem () const |
| Get the last child. More... | |
| virtual ElemTemplateElement * | getNextSiblingElem () const |
| Get the next sibling. More... | |
| virtual const ElemTemplateElement * | getNextChildElemToExecute (StylesheetExecutionContext &executionContext, const ElemTemplateElement *currentElem) const |
| Returns the next sub-element (i.e. More... | |
| virtual const ElemTemplateElement * | getFirstChildElemToExecute (StylesheetExecutionContext &executionContext) const |
| Returns the first sub-element (i.e. More... | |
| virtual bool | executeChildElement (StylesheetExecutionContext &executionContext, const ElemTemplateElement *element) const |
| Filters sub-elements that should be executed. More... | |
| virtual void | setNextSiblingElem (ElemTemplateElement *theSibling) |
| Set the next sibling. More... | |
| virtual ElemTemplateElement * | getPreviousSiblingElem () const |
| Get the previous sibling. More... | |
| virtual void | setPreviousSiblingElem (ElemTemplateElement *theSibling) |
| Set the previous sibling. More... | |
| virtual ElemTemplateElement * | getParentNodeElem () const |
| Get the parent node. More... | |
| virtual void | setParentNodeElem (ElemTemplateElement *theParent) |
| Set the parent node. More... | |
| virtual ElemTemplateElement * | appendChildElem (ElemTemplateElement *newChild) |
| Append a child. More... | |
| virtual const XPath * | getXPath (XalanSize_t index) const |
| Get XPath pattern/expression of one of the element atribute. More... | |
| virtual const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix) const |
| Retrieve a namespace corresponding to a prefix. More... | |
| virtual const XalanDOMString & | getURI () const |
| Retrieve the base URI for the resolver. More... | |
| XalanFileLoc | getLineNumber () const |
| XalanFileLoc | getColumnNumber () const |
| bool | hasParams () const |
| bool | hasVariables () const |
| bool | hasSingleTextChild () const |
| bool | hasChildren () const |
| bool | hasDirectTemplate () const |
| bool | canGenerateAttributes () const |
| bool | isDefaultTemplate () const |
Public Member Functions inherited from xalanc::PrefixResolver | |
| PrefixResolver () | |
| PrefixResolver (const PrefixResolver &) | |
| virtual | ~PrefixResolver () |
Static Public Member Functions | |
| static bool | isValidNCName (const XalanDOMString &s) |
| Validate that the string is an NCName. More... | |
Protected Member Functions | |
| void | canGenerateAttributes (bool value) |
| void | hasPrefix (bool value) |
| bool | hasPrefix () const |
| void | preserveSpace (bool value) |
| bool | preserveSpace () const |
| void | disableOutputEscaping (bool value) |
| bool | disableOutputEscaping () const |
| bool | processPrefixControl (StylesheetConstructionContext &constructionContext, const Stylesheet &stylesheetTree, const XalanDOMString &localName, const XalanDOMChar *attrValue) |
| Process the exclude-result-prefixes or the extension-element-prefixes attributes, for the purpose of prefix exclusion. More... | |
| const XalanDOMString * | getNamespaceForPrefixInternal (const XalanDOMString &prefix) const |
| Get the namespace for a given prefix. More... | |
| virtual const ElemTemplateElement * | findTemplateToTransformChild (StylesheetExecutionContext &executionContext, const ElemTemplateElement &xslInstruction, const ElemTemplateElement *theTemplate, XalanNode *child) const |
| Given an element, find the corresponding template. More... | |
| virtual const ElemTemplateElement * | findTemplateToTransformChild (StylesheetExecutionContext &executionContext, const ElemTemplateElement &xslInstruction, const ElemTemplateElement *theTemplate, XalanNode *child, XalanNode::NodeType nodeType) const |
| Given an element, find the corresponding template. More... | |
| virtual bool | childTypeAllowed (int xslToken) const |
| Given an xsl token type, determine whether or not a child of that type is allowed. More... | |
| virtual void | namespacesPostConstruction (StylesheetConstructionContext &constructionContext, const NamespacesHandler &theParentHandler, NamespacesHandler &theHandler) |
| Called after construction is completed. More... | |
| const NamespacesHandler & | getNamespaces () const |
| void | error (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode) const |
| A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance. More... | |
| void | error (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode, const XalanDOMString &theToken) const |
| A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance. More... | |
| void | error (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode, const Locator *theLocator) const |
| A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance. More... | |
| void | warn (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode) const |
| A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance. More... | |
| void | warn (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode, const XalanDOMString &theToken) const |
| A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance. More... | |
| void | warn (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode, const Locator *theLocator) const |
| A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance. More... | |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode) |
| A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance. More... | |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode, const XalanDOMString &theToken) |
| A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance. More... | |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode, const XalanDOMString &theToken, const Locator *theLocator) |
| A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance. More... | |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode, const XalanDOMString &theToken1, const XalanDOMString &theToken2) |
| A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance. More... | |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode, const XalanDOMChar *theToken1, const XalanDOMChar *theToken2) |
| A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance. More... | |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode, const XalanDOMChar *theToken1, const XalanDOMChar *theToken2, const XalanDOMChar *theToken3) |
| A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance. More... | |
| void | warn (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode, const XalanDOMChar *theToken1, const XalanDOMChar *theToken2, const XalanDOMChar *theToken3) |
| A convenience function for loading a message and reporting a warning through the provided StylesheetConstructionContext instance. More... | |
Static Protected Attributes | |
| static const XalanDOMString | s_emptyString |
Definition at line 79 of file ElemTemplateElement.hpp.
| xalanc::ElemTemplateElement::ElemTemplateElement | ( | StylesheetConstructionContext & | constructionContext, |
| Stylesheet & | stylesheetTree, | ||
| XalanFileLoc | lineNumber, | ||
| XalanFileLoc | columnNumber, | ||
| int | xslToken | ||
| ) |
Construct a template element instance.
| constructionContext | context when object constructed |
| stylesheetTree | owning stylesheet |
| lineNumber | line in the XSLT file where the element occurs |
| columnNumber | column index in the XSLT file where the element occurs |
| xslToken | an integer representing the type of instance. |
| xalanc::ElemTemplateElement::ElemTemplateElement | ( | StylesheetConstructionContext & | constructionContext, |
| Stylesheet & | stylesheetTree, | ||
| int | xslToken, | ||
| const XalanDOMString & | baseURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()), |
||
| XalanFileLoc | lineNumber = XalanLocator::getUnknownValue(), |
||
| XalanFileLoc | columnNumber = XalanLocator::getUnknownValue() |
||
| ) |
Special constructor used by dummy elements which do not exist in the final stylesheet.
| constructionContext | context when object constructed |
| stylesheetTree | owning stylesheet |
| baseURI | The base URI of the XSLT file where the element occurs. |
| lineNumber | line in the XSLT file where the element occurs |
| columnNumber | column index in the XSLT file where the element occurs |
| xslToken | an integer representing the type of instance. |
|
virtual |
|
virtual |
Called during compilation when an instance is not parented by another element, and thus, is a child of the stylesheet.
| constructionContext | The current construction context |
| theStylesheet | The owning stylesheet |
Reimplemented in xalanc::ElemTemplate, xalanc::ElemAttributeSet, and xalanc::ElemVariable.
|
virtual |
Append a child.
theParent - the new value for the parent.
Reimplemented in xalanc::ElemApplyImport.
| const ElemTemplateElement* xalanc::ElemTemplateElement::beginChildrenToString | ( | StylesheetExecutionContext & | executionContext, |
| XalanDOMString & | result | ||
| ) | const |
Method to initiate output from the children to a string.
| executionContext | context to execute this element |
| result | string to contain the final result |
|
virtual |
Method to initiate the execution of the element's children.
| executionContext | context to execute this element |
|
inline |
Definition at line 729 of file ElemTemplateElement.hpp.
|
inlineprotected |
Definition at line 743 of file ElemTemplateElement.hpp.
|
protectedvirtual |
Given an xsl token type, determine whether or not a child of that type is allowed.
This is so derived types can determine whether a particular type of child is allowed for the instance. It is called from appendChildElem().
The default is to allow no types (no children)
| xslToken | The xsl token value of the child. |
Reimplemented in xalanc::ElemTemplate, xalanc::ElemCallTemplate, xalanc::ElemAttributeSet, xalanc::ElemApplyTemplates, xalanc::ElemEmpty, xalanc::ElemPI, xalanc::ElemAttribute, xalanc::ElemText, xalanc::ElemChoose, and xalanc::ElemComment.
|
inlineprotected |
Definition at line 779 of file ElemTemplateElement.hpp.
|
inlineprotected |
Definition at line 773 of file ElemTemplateElement.hpp.
| void xalanc::ElemTemplateElement::endChildrenToString | ( | StylesheetExecutionContext & | executionContext | ) | const |
Method to indicate string output from the children is complete.
| executionContext | context to execute this element |
|
virtual |
Completes "post-processing" afer any sub-elements are invoked (i.e.
children, attribute sets and templates). If there are no sub-elements it does nothing
| executionContext | context to execute this element |
Reimplemented in xalanc::ElemTemplate, xalanc::ElemForEach, xalanc::ElemVariable, xalanc::ElemUse, xalanc::ElemLiteralResult, xalanc::ElemWithParam, xalanc::ElemAttributeSet, xalanc::ElemExtensionCall, xalanc::ElemPI, xalanc::ElemApplyTemplates, xalanc::ElemCallTemplate, xalanc::ElemElement, xalanc::ElemAttribute, xalanc::ElemComment, xalanc::ElemApplyImport, xalanc::ElemIf, xalanc::ElemMessage, xalanc::ElemWhen, xalanc::ElemCopy, xalanc::ElemParam, and xalanc::ElemOtherwise.
|
virtual |
Method to indicate the execution of the element's children is complete.
| executionContext | context to execute this element |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
| theToken1 | The first substitution token for the message |
| theToken2 | The second substitution token for the message |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
| theToken1 | The first substitution token for the message |
| theToken2 | The second substitution token for the message |
| theToken3 | The third substitution token for the message |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
| theToken | The substitution token for the message |
| theLocator | The Locator instance to use, if any |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
| theToken | The substitution token for the message |
| theLocator | The Locator instance to use, if any |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
| theToken1 | The first substitution token for the message |
| theToken2 | The second substitution token for the message |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance.
| theContext | The StylesheetExecutionContext to use |
| theCode | The code of the message |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance.
| theContext | The StylesheetExecutionContext to use |
| theCode | The code of the message |
| theLocator | The Locator instance to use, if any |
|
protected |
A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance.
| theContext | The StylesheetExecutionContext to use |
| theCode | The code of the message |
| theToken | The substitution token for the message |
|
virtual |
Execute the element.
| execute | context to execute this element |
|
virtual |
Filters sub-elements that should be executed.
| executionContext | context to execute element |
| element | the element to be executed |
Reimplemented in xalanc::ElemExtensionCall, xalanc::ElemForwardCompatible, and xalanc::ElemElement.
|
virtual |
Execute the children of this element.
| execute | context to execute this element |
|
protectedvirtual |
Given an element, find the corresponding template.
| executionContext | The current execution context |
| xslInstruction | The calling element |
| template | The template to use if xsl:for-each, or null. |
| child | The source context node. |
|
protectedvirtual |
Given an element, find the corresponding template.
| executionContext | The current execution context |
| xslInstruction | The calling element |
| template | The template to use if xsl:for-each, or null. |
| child | The source context node. |
| nodeType | The type of child. |
|
inline |
Definition at line 693 of file ElemTemplateElement.hpp.
|
pure virtual |
Get a string for the name of the element.
Useful for debugging purposes, and error reporting.
Implemented in xalanc::ElemSort, xalanc::ElemNumber, xalanc::ElemTemplate, xalanc::ElemTextLiteral, xalanc::ElemVariable, xalanc::ElemForEach, xalanc::ElemUse, xalanc::ElemEmpty, xalanc::ElemWithParam, xalanc::ElemAttributeSet, xalanc::ElemForwardCompatible, xalanc::ElemText, xalanc::ElemDecimalFormat, xalanc::ElemLiteralResult, xalanc::ElemPI, xalanc::ElemValueOf, xalanc::ElemApplyTemplates, xalanc::ElemCallTemplate, xalanc::ElemElement, xalanc::ElemAttribute, xalanc::ElemCopyOf, xalanc::ElemFallback, xalanc::ElemComment, xalanc::ElemApplyImport, xalanc::ElemIf, xalanc::ElemMessage, xalanc::ElemWhen, xalanc::ElemChoose, xalanc::ElemCopy, xalanc::ElemParam, and xalanc::ElemOtherwise.
|
inline |
Get the flag indicating construction of the element is completed.
Definition at line 422 of file ElemTemplateElement.hpp.
|
virtual |
Get the first child.
|
virtual |
Returns the first sub-element (i.e.
children, attribute-sets, templates) to execute.
| executionContext | context to execute element |
Reimplemented in xalanc::ElemUse, xalanc::ElemApplyTemplates, xalanc::ElemCallTemplate, and xalanc::ElemFallback.
|
virtual |
Returns the element that invoked this element.
Reimplemented in xalanc::ElemTemplate, and xalanc::ElemAttributeSet.
|
virtual |
Get the last child.
|
inline |
Definition at line 687 of file ElemTemplateElement.hpp.
|
virtual |
Get the Locator for the node.
This may return 0.
|
virtual |
Get the QName associated with any name attribute of this element.
If the element has no name attribute, this will be an empty QName.
Reimplemented in xalanc::ElemTemplate, and xalanc::ElemVariable.
|
virtual |
Retrieve a namespace corresponding to a prefix.
This assumes that the PrevixResolver holds its own namespace context, or is a namespace context itself.
| prefix | Prefix to resolve |
Implements xalanc::PrefixResolver.
|
protected |
Get the namespace for a given prefix.
| prefix | The prefix to search for |
| fExists | If not null, set to true if the namespace was defined. |
|
inlineprotected |
Definition at line 910 of file ElemTemplateElement.hpp.
|
inline |
Get the namespaces handler for this element.
Definition at line 391 of file ElemTemplateElement.hpp.
|
virtual |
Returns the next sub-element (i.e.
children, attribute-sets, templates) to execute.
| executionContext | context to execute element |
| currentElem | the last sub-element to be executed |
Reimplemented in xalanc::ElemForEach, xalanc::ElemUse, xalanc::ElemApplyTemplates, xalanc::ElemCallTemplate, xalanc::ElemFallback, xalanc::ElemApplyImport, and xalanc::ElemChoose.
|
virtual |
Get the next sibling.
|
virtual |
Get the parent node.
|
virtual |
Get the previous sibling.
|
inline |
Retrieve the stylesheet from which this element comes.
Definition at line 402 of file ElemTemplateElement.hpp.
|
virtual |
|
virtual |
Get XPath pattern/expression of one of the element atribute.
@index number of the attribute. If an attribute has more then one attribute with pattern/expression,the order of the returned expressions are undefined
Reimplemented in xalanc::ElemSort, xalanc::ElemNumber, xalanc::ElemTemplate, xalanc::ElemForEach, xalanc::ElemVariable, xalanc::ElemDecimalFormat, xalanc::ElemWithParam, xalanc::ElemValueOf, xalanc::ElemCopyOf, xalanc::ElemIf, and xalanc::ElemWhen.
|
inline |
Definition at line 315 of file ElemTemplateElement.hpp.
|
inline |
Definition at line 717 of file ElemTemplateElement.hpp.
|
inline |
Definition at line 723 of file ElemTemplateElement.hpp.
|
inline |
Definition at line 699 of file ElemTemplateElement.hpp.
|
inlineprotected |
Definition at line 755 of file ElemTemplateElement.hpp.
|
inlineprotected |
Definition at line 749 of file ElemTemplateElement.hpp.
|
inline |
Definition at line 711 of file ElemTemplateElement.hpp.
|
inline |
Definition at line 705 of file ElemTemplateElement.hpp.
|
virtual |
See if this is a xmlns attribute or in a non-XSLT.
| attrName | qualified name of attribute |
| atts | attribute list where the element comes from (not used at this time) |
| which | index into the attribute list (not used at this time) |
| constructionContext | The current construction context |
Reimplemented in xalanc::ElemLiteralResult.
|
inline |
Definition at line 735 of file ElemTemplateElement.hpp.
|
static |
Validate that the string is an NCName.
| s | name in question |
|
virtual |
Tell if the element will generate text which is XML whitespace.
Reimplemented in xalanc::ElemTextLiteral.
|
protectedvirtual |
Called after construction is completed.
This is a hook for deriving classes to handle post-construction with the instances HamespaceHandler instance, which is otherwise only available through a const accessor.
Reimplemented in xalanc::ElemLiteralResult, and xalanc::ElemElement.
|
virtual |
Called after construction is completed.
Reimplemented in xalanc::ElemForEach, xalanc::ElemCallTemplate, xalanc::ElemUse, and xalanc::ElemLiteralResult.
|
inlineprotected |
Definition at line 767 of file ElemTemplateElement.hpp.
|
inlineprotected |
Definition at line 761 of file ElemTemplateElement.hpp.
|
protected |
Process the exclude-result-prefixes or the extension-element-prefixes attributes, for the purpose of prefix exclusion.
| constructionContext | context when object consructed |
| stylesheetTree | The current Stylesheet object. |
| localName | The local name of the attribute. |
| attrValue | The value of the attribute. |
|
virtual |
Called during compilation to process xsl:sort elements in the stylesheet.
| constructionContext | The current construction context |
| theStylesheet | The owning stylesheet |
| atts | The list of attributes for the sort element |
| locator | A Locator instance for error reporting, if available. |
Reimplemented in xalanc::ElemForEach.
| bool xalanc::ElemTemplateElement::processSpaceAttr | ( | const XalanDOMChar * | elementName, |
| const XalanDOMChar * | aname, | ||
| const AttributeListType & | atts, | ||
| XalanSize_t | which, | ||
| StylesheetConstructionContext & | constructionContext | ||
| ) |
Tell whether or not this is a xml:space attribute and, if so, process it.
| elementName | name of the element with the attribute |
| aname | name of the attribute in question |
| atts | attribute list that owns the attribute |
| which | index of the attribute into the attribute list |
| constructionContext | The current construction context |
|
virtual |
Sets a flag indicating this is the default template.
| value | The value of flag. |
|
inline |
Set the flag indicating construction of the element is completed.
| fValue | The value to set |
Definition at line 413 of file ElemTemplateElement.hpp.
|
virtual |
Set the first child.
theChild - the new value for the first child.
|
virtual |
Set the next sibling.
theSibling - the new value for the next sibling.
|
virtual |
Set the parent node.
theParent - the new value for the parent.
Reimplemented in xalanc::ElemVariable.
|
virtual |
Set the previous sibling.
theSibling - the new value for the previous sibling.
|
virtual |
Completes "pre-processing" before any sub-elements are invoked (i.e.
children, attribute sets and templates). If there are no sub-elements it executes the primary function of the element.
| executionContext | context to execute this element |
Reimplemented in xalanc::ElemNumber, xalanc::ElemTemplate, xalanc::ElemTextLiteral, xalanc::ElemForEach, xalanc::ElemVariable, xalanc::ElemUse, xalanc::ElemLiteralResult, xalanc::ElemWithParam, xalanc::ElemEmpty, xalanc::ElemAttributeSet, xalanc::ElemExtensionCall, xalanc::ElemForwardCompatible, xalanc::ElemPI, xalanc::ElemValueOf, xalanc::ElemApplyTemplates, xalanc::ElemCallTemplate, xalanc::ElemElement, xalanc::ElemAttribute, xalanc::ElemCopyOf, xalanc::ElemFallback, xalanc::ElemComment, xalanc::ElemApplyImport, xalanc::ElemIf, xalanc::ElemMessage, xalanc::ElemWhen, xalanc::ElemChoose, xalanc::ElemCopy, xalanc::ElemParam, and xalanc::ElemOtherwise.
|
protected |
A convenience function for loading a message and reporting a warning through the provided StylesheetConstructionContext instance.
| theContext | The StylesheetConstructionContext to use |
| theCode | The code of the message |
| theToken1 | The first substitution token for the message |
| theToken2 | The second substitution token for the message |
| theToken3 | The third substitution token for the message |
|
protected |
A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
| theContext | The StylesheetExecutionContext to use |
| theCode | The code of the message |
|
protected |
A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
| theContext | The StylesheetExecutionContext to use |
| theCode | The code of the message |
| theLocator | The Locator instance to use, if any |
|
protected |
A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
| theContext | The StylesheetExecutionContext to use |
| theCode | The code of the message |
| theToken | The substitution token for the message |
| const ElemTemplate* xalanc::ElemTemplateElement::m_directTemplate |
Definition at line 1192 of file ElemTemplateElement.hpp.
| ElemTemplateElement* xalanc::ElemTemplateElement::m_firstChild |
Definition at line 1191 of file ElemTemplateElement.hpp.
| const ElemTextLiteral* xalanc::ElemTemplateElement::m_textLiteralChild |
Definition at line 1193 of file ElemTemplateElement.hpp.
|
staticprotected |
Definition at line 1121 of file ElemTemplateElement.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:31 for Xalan-C++ API Reference by
1.8.17