List of all members.
Classes
Public Member Functions
- ElemTemplateElement (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, int lineNumber, int columnNumber, int xslToken)
- Construct a template element instance.
- ElemTemplateElement (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, int xslToken, const XalanDOMString &baseURI=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), int lineNumber=XalanLocator::getUnknownValue(), int columnNumber=XalanLocator::getUnknownValue())
- Special constructor used by dummy elements which do not exist in the final stylesheet.
- virtual ~ElemTemplateElement ()
- virtual const LocatorType * getLocator () const
- Get the Locator for the node.
- virtual bool isAttrOK (const XalanDOMChar *attrName, const AttributeListType &atts, int 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, int which, StylesheetConstructionContext &constructionContext)
- Tell whether or not this is a xml:space attribute and, if so, process it.
- 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 void execute (StylesheetExecutionContext &executionContext) const
- Execute the element.
- virtual void executeChildren (StylesheetExecutionContext &executionContext) const
- Execute the children of this element.
- virtual const ElemTemplateElement * getInvoker (StylesheetExecutionContext &executionContext) const
- Returns the element that invoked this element.
- int getXSLToken () const
- virtual bool isWhitespace () const
- Tell if the element will generate text which is XML whitespace.
- virtual const XalanDOMString & getElementName () const =0
- Get a string for the name of the 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 void processSortElement (StylesheetConstructionContext &constructionContext, Stylesheet &theStylesheet, const AttributeListType &atts, const LocatorType *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 XPath * getXPath (unsigned int index=0) const
- Get XPath pattern/expression of one of the element atribute.
- 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.
- LocatorProxy::size_type getLineNumber () const
- LocatorProxy::size_type getColumnNumber () const
- bool hasParams () const
- bool hasVariables () const
- bool hasSingleTextChild () const
- bool hasChildren () const
- bool hasDirectTemplate () const
- bool canGenerateAttributes () const
- bool isDefaultTemplate () const
Static Public Member Functions
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.
- 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 bool childTypeAllowed (int xslToken) const
- Given an xsl token type, determine whether or not a child of that type is allowed.
- 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.
Static Protected Attributes
Constructor & Destructor Documentation
Construct a template element instance.
- Parameters:
-
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. |
Special constructor used by dummy elements which do not exist in the final stylesheet.
- Parameters:
-
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 ElemTemplateElement::~ElemTemplateElement |
( |
| ) |
[virtual] |
Member Function Documentation
Called during compilation when an instance is not parented by another element, and thus, is a child of the stylesheet.
- Parameters:
-
constructionContext | The current construction context |
theStylesheet | The owning stylesheet |
- Returns:
- nothing
Reimplemented in ElemAttributeSet, ElemTemplate, and ElemVariable.
Append a child.
theParent - the new value for the parent.
- Returns:
- nothing
Reimplemented in ElemApplyImport.
Method to initiate output from the children to a string.
- Parameters:
-
executionContext | context to execute this element |
result | string to contain the final result |
- Returns:
- the first child element to execute
Method to initiate the execution of the element's children.
- Parameters:
-
executionContext | context to execute this element |
- Returns:
- the first child element to execute
bool ElemTemplateElement::canGenerateAttributes |
( |
| ) |
const |
void ElemTemplateElement::canGenerateAttributes |
( |
bool |
value | ) |
[protected] |
virtual bool ElemTemplateElement::childTypeAllowed |
( |
int |
xslToken | ) |
const [protected, virtual] |
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)
- Parameters:
-
xslToken | The xsl token value of the child. |
- Returns:
- true if the child is allowed, or false if not.
Reimplemented in ElemApplyTemplates, ElemAttribute, ElemAttributeSet, ElemCallTemplate, ElemChoose, ElemComment, ElemEmpty, ElemPI, ElemTemplate, and ElemText.
bool ElemTemplateElement::disableOutputEscaping |
( |
| ) |
const [protected] |
void ElemTemplateElement::disableOutputEscaping |
( |
bool |
value | ) |
[protected] |
Method to indicate string output from the children is complete.
- Parameters:
-
executionContext | context to execute this element |
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
- Parameters:
-
executionContext | context to execute this element |
Reimplemented in ElemApplyImport, ElemApplyTemplates, ElemAttribute, ElemAttributeSet, ElemCallTemplate, ElemComment, ElemCopy, ElemElement, ElemExtensionCall, ElemForEach, ElemIf, ElemLiteralResult, ElemMessage, ElemOtherwise, ElemParam, ElemPI, ElemTemplate, ElemUse, ElemVariable, ElemWhen, and ElemWithParam.
Method to indicate the execution of the element's children is complete.
- Parameters:
-
executionContext | context to execute this element |
void ElemTemplateElement::error |
( |
StylesheetConstructionContext & |
theContext, |
|
|
XalanMessages::Codes |
theCode, |
|
|
const XalanDOMChar * |
theToken1, |
|
|
const XalanDOMChar * |
theToken2 |
|
) |
| [protected] |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
- Parameters:
-
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 |
A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance.
- Parameters:
-
A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance.
- Parameters:
-
void ElemTemplateElement::error |
( |
StylesheetExecutionContext & |
theContext, |
|
|
XalanMessages::Codes |
theCode, |
|
|
const Locator * |
theLocator |
|
) |
| const [protected] |
A convenience function for loading a message and reporting an error through the provided StylesheetExecutionContext instance.
- Parameters:
-
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
- Parameters:
-
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 |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
- Parameters:
-
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 |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
- Parameters:
-
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 |
void ElemTemplateElement::error |
( |
StylesheetConstructionContext & |
theContext, |
|
|
XalanMessages::Codes |
theCode, |
|
|
const XalanDOMChar * |
theToken1, |
|
|
const XalanDOMChar * |
theToken2, |
|
|
const XalanDOMChar * |
theToken3 |
|
) |
| [protected] |
A convenience function for loading a message and reporting an error through the provided StylesheetConstructionContext instance.
- Parameters:
-
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 |
Execute the element.
- Parameters:
-
execute | context to execute this element |
Filters sub-elements that should be executed.
- Parameters:
-
executionContext | context to execute element |
element | the element to be executed |
- Returns:
- true if element should be executed, false otherwise
Reimplemented in ElemElement, ElemExtensionCall, and ElemForwardCompatible.
Execute the children of this element.
- Parameters:
-
execute | context to execute this element |
Given an element, find the corresponding template.
- Parameters:
-
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. |
- Returns:
- matching template if any. Returns 0 if no matching template or corresponds to a default rule.
Given an element, find the corresponding template.
- Parameters:
-
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. |
- Returns:
- matching template if any. Returns 0 if no matching template or corresponds to a default rule.
virtual const XalanDOMString& ElemTemplateElement::getElementName |
( |
| ) |
const [pure virtual] |
Get a string for the name of the element.
Useful for debugging purposes, and error reporting.
- Returns:
- A string containing the name of the element.
Implemented in ElemApplyImport, ElemApplyTemplates, ElemAttribute, ElemAttributeSet, ElemCallTemplate, ElemChoose, ElemComment, ElemCopy, ElemCopyOf, ElemDecimalFormat, ElemElement, ElemEmpty, ElemFallback, ElemForEach, ElemForwardCompatible, ElemIf, ElemLiteralResult, ElemMessage, ElemNumber, ElemOtherwise, ElemParam, ElemPI, ElemSort, ElemTemplate, ElemText, ElemTextLiteral, ElemUse, ElemValueOf, ElemVariable, ElemWhen, and ElemWithParam.
bool ElemTemplateElement::getFinishedConstruction |
( |
| ) |
const |
Get the flag indicating construction of the element is completed.
Get the first child.
- Returns:
- first child node of this node
Returns the first sub-element (i.e.
children, attribute-sets, templates) to execute.
- Parameters:
-
executionContext | context to execute element |
- Returns:
- first sub-element to execute, 0 only if no sub-elements to execute
Reimplemented in ElemApplyTemplates, ElemCallTemplate, and ElemUse.
Returns the element that invoked this element.
- Returns:
- element that invoked this element.
Reimplemented in ElemAttributeSet, and ElemTemplate.
Get the last child.
- Returns:
- last child node of this node
virtual const LocatorType* ElemTemplateElement::getLocator |
( |
| ) |
const [virtual] |
Get the Locator for the node.
This may return 0.
- Returns:
- The Locator for the node.
virtual const XalanQName& ElemTemplateElement::getNameAttribute |
( |
| ) |
const [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.
- Returns:
- A string containing the name of the element.
Reimplemented in ElemTemplate, and ElemVariable.
Retrieve a namespace corresponding to a prefix.
This assumes that the PrevixResolver holds its own namespace context, or is a namespace context itself.
- Parameters:
-
- Returns:
- namespace that prefix resolves to, or null if prefix is not found
Implements PrefixResolver.
Get the namespace for a given prefix.
- Parameters:
-
prefix | The prefix to search for |
fExists | If not null, set to true if the namespace was defined. |
- Returns:
- The namespace string.
Get the namespaces handler for this element.
- Returns:
- The element's NamespacesHandler instance.
Get the next sibling.
- Returns:
- next sibling node of this node
Get the parent node.
- Returns:
- parent node of this node
Get the previous sibling.
- Returns:
- previous sibling node of this node
const Stylesheet& ElemTemplateElement::getStylesheet |
( |
| ) |
const |
Retrieve the stylesheet from which this element comes.
- Returns:
- reference to source stylesheet
virtual const XalanDOMString& ElemTemplateElement::getURI |
( |
| ) |
const [virtual] |
Retrieve the base URI for the resolver.
- Returns:
- URI string
Implements PrefixResolver.
virtual const XPath* ElemTemplateElement::getXPath |
( |
unsigned int |
index = 0 | ) |
const [virtual] |
Get XPath pattern/expression of one of the element atribute.
number of the attribute. If an attribute has more then one attribute with pattern/expression,the order of the returned expressions are undefined
- Returns:
- pointer or null
Reimplemented in ElemCopyOf, ElemDecimalFormat, ElemForEach, ElemIf, ElemNumber, ElemSort, ElemTemplate, ElemValueOf, ElemVariable, ElemWhen, and ElemWithParam.
int ElemTemplateElement::getXSLToken |
( |
| ) |
const |
bool ElemTemplateElement::hasChildren |
( |
| ) |
const |
bool ElemTemplateElement::hasDirectTemplate |
( |
| ) |
const |
bool ElemTemplateElement::hasParams |
( |
| ) |
const |
bool ElemTemplateElement::hasPrefix |
( |
| ) |
const [protected] |
void ElemTemplateElement::hasPrefix |
( |
bool |
value | ) |
[protected] |
bool ElemTemplateElement::hasSingleTextChild |
( |
| ) |
const |
bool ElemTemplateElement::hasVariables |
( |
| ) |
const |
See if this is a xmlns attribute or in a non-XSLT.
- Parameters:
-
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 |
- Returns:
- true if this is a namespace name
Reimplemented in ElemLiteralResult.
bool ElemTemplateElement::isDefaultTemplate |
( |
| ) |
const |
static bool ElemTemplateElement::isValidNCName |
( |
const XalanDOMString & |
s | ) |
[static] |
virtual bool ElemTemplateElement::isWhitespace |
( |
| ) |
const [virtual] |
Tell if the element will generate text which is XML whitespace.
- Returns:
- true if the text is pure whitespace
Reimplemented in ElemTextLiteral.
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 ElemElement, and ElemLiteralResult.
void ElemTemplateElement::preserveSpace |
( |
bool |
value | ) |
[protected] |
bool ElemTemplateElement::preserveSpace |
( |
| ) |
const [protected] |
Process the exclude-result-prefixes or the extension-element-prefixes attributes, for the purpose of prefix exclusion.
- Parameters:
-
constructionContext | context when object consructed |
stylesheetTree | The current Stylesheet object. |
localName | The local name of the attribute. |
attrValue | The value of the attribute. |
Called during compilation to process xsl:sort elements in the stylesheet.
- Parameters:
-
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. |
- Returns:
- nothing
Reimplemented in ElemForEach.
Tell whether or not this is a xml:space attribute and, if so, process it.
- Parameters:
-
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 |
- Returns:
- true if this is a xml:space attribute
virtual void ElemTemplateElement::setDefaultTemplate |
( |
bool |
value | ) |
[virtual] |
Sets a flag indicating this is the default template.
- Parameters:
-
void ElemTemplateElement::setFinishedConstruction |
( |
bool |
fValue | ) |
|
Set the flag indicating construction of the element is completed.
- Parameters:
-
virtual void ElemTemplateElement::setFirstChildElem |
( |
ElemTemplateElement * |
theChild | ) |
[virtual] |
Set the first child.
theChild - the new value for the first child.
- Returns:
- nothing
virtual void ElemTemplateElement::setNextSiblingElem |
( |
ElemTemplateElement * |
theSibling | ) |
[virtual] |
Set the next sibling.
theSibling - the new value for the next sibling.
- Returns:
- nothing
virtual void ElemTemplateElement::setParentNodeElem |
( |
ElemTemplateElement * |
theParent | ) |
[virtual] |
Set the parent node.
theParent - the new value for the parent.
- Returns:
- nothing
Reimplemented in ElemVariable.
virtual void ElemTemplateElement::setPreviousSiblingElem |
( |
ElemTemplateElement * |
theSibling | ) |
[virtual] |
Set the previous sibling.
theSibling - the new value for the previous sibling.
- Returns:
- nothing
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.
- Parameters:
-
executionContext | context to execute this element |
Reimplemented in ElemApplyImport, ElemApplyTemplates, ElemAttribute, ElemAttributeSet, ElemCallTemplate, ElemChoose, ElemComment, ElemCopy, ElemCopyOf, ElemElement, ElemEmpty, ElemExtensionCall, ElemFallback, ElemForEach, ElemForwardCompatible, ElemIf, ElemLiteralResult, ElemMessage, ElemNumber, ElemOtherwise, ElemParam, ElemPI, ElemTemplate, ElemTextLiteral, ElemUse, ElemValueOf, ElemVariable, ElemWhen, and ElemWithParam.
A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
- Parameters:
-
void ElemTemplateElement::warn |
( |
StylesheetExecutionContext & |
theContext, |
|
|
XalanMessages::Codes |
theCode, |
|
|
const Locator * |
theLocator |
|
) |
| const [protected] |
A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
- Parameters:
-
A convenience function for loading a message and reporting a warning through the provided StylesheetExecutionContext instance.
- Parameters:
-
void ElemTemplateElement::warn |
( |
StylesheetConstructionContext & |
theContext, |
|
|
XalanMessages::Codes |
theCode, |
|
|
const XalanDOMChar * |
theToken1, |
|
|
const XalanDOMChar * |
theToken2, |
|
|
const XalanDOMChar * |
theToken3 |
|
) |
| [protected] |
A convenience function for loading a message and reporting a warning through the provided StylesheetConstructionContext instance.
- Parameters:
-
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 |
Member Data Documentation
The documentation for this class was generated from the following file: