|
| | ElemTemplate (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber) |
| | Construct an object corresponding to an "xsl:template" element.
|
| |
| virtual | ~ElemTemplate () |
| |
| const XalanQName & | getMode () const |
| | Retrieve the mode of element.
|
| |
| const XPath * | getMatchPattern () const |
| | Retrieve the match pattern.
|
| |
| double | getPriority () const |
| | Retrieve the priority of element.
|
| |
| virtual const XalanQName & | getNameAttribute () const |
| | Get the QName associated with any name attribute of this element.
|
| |
| 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.
|
| |
| virtual const XalanDOMString & | getElementName () const |
| | Get a string for the name of the element.
|
| |
| virtual const ElemTemplateElement * | startElement (StylesheetExecutionContext &executionContext) const |
| | Completes "pre-processing" before any sub-elements are invoked (i.e.
|
| |
| virtual void | endElement (StylesheetExecutionContext &executionContext) const |
| | Completes "post-processing" afer any sub-elements are invoked (i.e.
|
| |
| virtual const ElemTemplateElement * | getInvoker (StylesheetExecutionContext &executionContext) const |
| | Returns the element that invoked this element.
|
| |
| virtual const XPath * | getXPath (XalanSize_t index) const |
| | Get XPath pattern/expression of one of the element atribute.
|
| |
| | ElemTemplateElement (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, XalanFileLoc lineNumber, XalanFileLoc columnNumber, int xslToken) |
| | Construct a template element instance.
|
| |
| | 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.
|
| |
| virtual | ~ElemTemplateElement () |
| |
| virtual const Locator * | getLocator () const |
| | Get the Locator for the node.
|
| |
| 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.
|
| |
| 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.
|
| |
| virtual void | execute (StylesheetExecutionContext &executionContext) const |
| | Execute the element.
|
| |
| virtual void | executeChildren (StylesheetExecutionContext &executionContext) const |
| | Execute the children of this element.
|
| |
| int | getXSLToken () const |
| |
| virtual bool | isWhitespace () const |
| | Tell if the element will generate text which is XML whitespace.
|
| |
| 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.
|
| |
| virtual void | setDefaultTemplate (bool value) |
| | Sets a flag indicating this is the default template.
|
| |
| const NamespacesHandler & | getNamespacesHandler () const |
| | Get the namespaces handler for this element.
|
| |
| const Stylesheet & | getStylesheet () const |
| | Retrieve the stylesheet from which this element comes.
|
| |
| void | setFinishedConstruction (bool fValue) |
| | Set the flag indicating construction of the element is completed.
|
| |
| bool | getFinishedConstruction () const |
| | Get the flag indicating construction of the element is completed.
|
| |
| virtual void | postConstruction (StylesheetConstructionContext &constructionContext, const NamespacesHandler &theParentHandler) |
| | Called after construction is completed.
|
| |
| virtual ElemTemplateElement * | getFirstChildElem () const |
| | Get the first child.
|
| |
| virtual const ElemTemplateElement * | beginExecuteChildren (StylesheetExecutionContext &executionContext) const |
| | Method to initiate the execution of the element's children.
|
| |
| virtual void | endExecuteChildren (StylesheetExecutionContext &executionContext) const |
| | Method to indicate the execution of the element's children is complete.
|
| |
| const ElemTemplateElement * | beginChildrenToString (StylesheetExecutionContext &executionContext, XalanDOMString &result) const |
| | Method to initiate output from the children to a string.
|
| |
| void | endChildrenToString (StylesheetExecutionContext &executionContext) const |
| | Method to indicate string output from the children is complete.
|
| |
| virtual void | setFirstChildElem (ElemTemplateElement *theChild) |
| | Set the first child.
|
| |
| virtual ElemTemplateElement * | getLastChildElem () const |
| | Get the last child.
|
| |
| virtual ElemTemplateElement * | getNextSiblingElem () const |
| | Get the next sibling.
|
| |
| virtual const ElemTemplateElement * | getNextChildElemToExecute (StylesheetExecutionContext &executionContext, const ElemTemplateElement *currentElem) const |
| | Returns the next sub-element (i.e.
|
| |
| virtual const ElemTemplateElement * | getFirstChildElemToExecute (StylesheetExecutionContext &executionContext) const |
| | Returns the first sub-element (i.e.
|
| |
| virtual bool | executeChildElement (StylesheetExecutionContext &executionContext, const ElemTemplateElement *element) const |
| | Filters sub-elements that should be executed.
|
| |
| virtual void | setNextSiblingElem (ElemTemplateElement *theSibling) |
| | Set the next sibling.
|
| |
| virtual ElemTemplateElement * | getPreviousSiblingElem () const |
| | Get the previous sibling.
|
| |
| virtual void | setPreviousSiblingElem (ElemTemplateElement *theSibling) |
| | Set the previous sibling.
|
| |
| virtual ElemTemplateElement * | getParentNodeElem () const |
| | Get the parent node.
|
| |
| virtual void | setParentNodeElem (ElemTemplateElement *theParent) |
| | Set the parent node.
|
| |
| virtual ElemTemplateElement * | appendChildElem (ElemTemplateElement *newChild) |
| | Append a child.
|
| |
| virtual const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix) const |
| | Retrieve a namespace corresponding to a prefix.
|
| |
| virtual const XalanDOMString & | getURI () const |
| | Retrieve the base URI for the resolver.
|
| |
| 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 |
| |
| | PrefixResolver () |
| |
| | PrefixResolver (const PrefixResolver &) |
| |
| virtual | ~PrefixResolver () |
| |
|
| virtual bool | childTypeAllowed (int xslToken) const |
| | Given an xsl token type, determine whether or not a child of that type is allowed.
|
| |
| 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.
|
| |
| const XalanDOMString * | getNamespaceForPrefixInternal (const XalanDOMString &prefix) const |
| | Get the namespace for a given prefix.
|
| |
| virtual const ElemTemplateElement * | findTemplateToTransformChild (StylesheetExecutionContext &executionContext, const ElemTemplateElement &xslInstruction, const ElemTemplateElement *theTemplate, XalanNode *child) const |
| | Given an element, find the corresponding template.
|
| |
| 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.
|
| |
| virtual void | namespacesPostConstruction (StylesheetConstructionContext &constructionContext, const NamespacesHandler &theParentHandler, NamespacesHandler &theHandler) |
| | Called after construction is completed.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| void | warn (StylesheetExecutionContext &theContext, XalanMessages::Codes theCode) const |
| | A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
|
| |
| 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.
|
| |
| 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.
|
| |
| void | error (StylesheetConstructionContext &theContext, XalanMessages::Codes theCode) |
| | A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
Definition at line 43 of file ElemTemplate.hpp.