Uses of Class
org.apache.xalan.templates.ElemTemplateElement
Packages that use ElemTemplateElement
Package
Description
Implementation of Xalan Extension Mechanism.
Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet.Implementation of Xalan Trace events, for use by a debugger.
In charge of run-time transformations and the production of result trees.
-
Uses of ElemTemplateElement in org.apache.xalan.extensions
Methods in org.apache.xalan.extensions with parameters of type ElemTemplateElementModifier and TypeMethodDescriptionabstract voidExtensionHandler.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey) Process a call to this extension namespace via an element.voidExtensionHandlerExsltFunction.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey) Required by ExtensionHandler (an abstract method).voidExtensionHandlerGeneral.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey) Process a call to this extension namespace via an element.voidExtensionHandlerJavaClass.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey) Process a call to this extension namespace via an element.voidExtensionHandlerJavaPackage.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey) Process a call to this extension namespace via an element. -
Uses of ElemTemplateElement in org.apache.xalan.processor
Subclasses of ElemTemplateElement in org.apache.xalan.processorModifier and TypeClassDescriptionclassThis class processes character events for a XSLT template element.classThis class processes parse events for an exslt func:result element.classThis class processes parse events for an exslt func:function element.classThis class processes parse events for an xsl:import element.classTransformerFactory class for xsl:include markup.classProcesses an XSLT literal-result-element, or something that looks like one.classThis class processes the xsl:stylesheet element.classTransformerFactory for xsl:stylesheet or xsl:transform markup.classThis class processes parse events for an XSLT template element.classProcess xsl:text.classThis class processes an unknown template element.classclassThis class acts as the superclass for all stylesheet element processors, and deals with things that are common to all elements.Methods in org.apache.xalan.processor with parameters of type ElemTemplateElementModifier and TypeMethodDescriptionStylesheetHandler.createXPath(String str, ElemTemplateElement owningTemplate) Process an expression string into an XPath.voidProcessorExsltFunction.validate(ElemTemplateElement elem, StylesheetHandler handler) Non-recursive traversal of FunctionElement tree based on TreeWalker to verify that there are no literal result elements except within a func:result element and that the func:result element does not contain any following siblings except xsl:fallback. -
Uses of ElemTemplateElement in org.apache.xalan.templates
Subclasses of ElemTemplateElement in org.apache.xalan.templatesModifier and TypeClassDescriptionclassImplement xsl:decimal-format.classImplement xsl:apply-imports.classImplement xsl:apply-templates.classImplement xsl:attribute.classImplement xsl:attribute-set.classImplement xsl:call-template.classImplement xsl:choose.classImplement xsl:comment.classImplement xsl:copy.classImplement xsl:copy-of.classImplement xsl:elementclassSimple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly.classHandles the EXSLT result element within an EXSLT function element.classImplement func:function.classImplement an extension element.classImplement the declaration of an extension elementclassImplement Script extension elementclassImplement xsl:fallback.classImplement xsl:for-each.classImplement xsl:if.classImplement a Literal Result Element.classImplement xsl:message.classImplement xsl:number.classImplement xsl:otherwise.classImplement xsl:param.classImplement xsl:processing-instruction.classImplement xsl:sort.classImplement xsl:template.classImplement xsl:template.classImplement a text literal.classImplement an unknown elementclassImplement xsl:use.classImplement xsl:value-of.classImplement xsl:variable.classclassImplement xsl:when.classImplement xsl:with-param.classHolds the attribute declarations for the xsl:keys element.classObject to hold an xsl:namespace element.classThis class provides information from xsl:output elements.classRepresents a stylesheet element.classRepresents a stylesheet that has methods that resolve includes and imports.classThis class represents the root object of the stylesheet tree.classThis is used as a special "fake" template that can be handled by the TemplateList to do pattern matching on nodes.Methods in org.apache.xalan.templates that return ElemTemplateElementModifier and TypeMethodDescriptionElemApplyImport.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemAttribute.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemCallTemplate.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemChoose.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemComment.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemCopyOf.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemForEach.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemNumber.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemPI.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemTemplateElement.appendChild(ElemTemplateElement elem) Add a child to the child list.ElemText.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemValueOf.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemVariable.appendChild(ElemTemplateElement elem) Add a child to the child list.ElemWithParam.appendChild(ElemTemplateElement elem) Add a child to the child list.ElemAttributeSet.appendChildElem(ElemTemplateElement newChild) Add a child to the child list.ElemTemplateElement.getFirstChildElem()Get the first child as a ElemTemplateElement.ElemTemplateElement.getLastChildElem()Get the last child.ElemTemplateElement.getNextSiblingElem()Get the next sibling (as a ElemTemplateElement) or return null.ElemTemplateElement.getParentElem()Get the parent as an ElemTemplateElement.ElemTemplateElement.getParentNodeElem()Get the parent element.ElemTemplateElement.getPreviousSiblingElem()Get the previous sibling (as a Node) or return null.ElemTemplateElement.removeChild(ElemTemplateElement childETE) Remove a child.ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem, ElemTemplateElement oldChildElem) Replace the old child with a new child.Methods in org.apache.xalan.templates with parameters of type ElemTemplateElementModifier and TypeMethodDescriptionElemApplyImport.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemAttribute.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemCallTemplate.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemChoose.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemComment.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemCopyOf.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemForEach.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemNumber.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemPI.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemTemplateElement.appendChild(ElemTemplateElement elem) Add a child to the child list.ElemText.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemValueOf.appendChild(ElemTemplateElement newChild) Add a child to the child list.ElemVariable.appendChild(ElemTemplateElement elem) Add a child to the child list.ElemWithParam.appendChild(ElemTemplateElement elem) Add a child to the child list.ElemAttributeSet.appendChildElem(ElemTemplateElement newChild) Add a child to the child list.voidRedundentExprEliminator.eleminateRedundentLocals(ElemTemplateElement psuedoVarRecipient) Method to be called after the all expressions within an node context have been visited.ElemTemplateElement.removeChild(ElemTemplateElement childETE) Remove a child.ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem, ElemTemplateElement oldChildElem) Replace the old child with a new child.voidElemTemplateElement.setParentElem(ElemTemplateElement p) Set the parent as an ElemTemplateElement.voidElemVariable.setParentElem(ElemTemplateElement p) Set the parent as an ElemTemplateElement.voidElemWithParam.setParentElem(ElemTemplateElement p) Set the parent as an ElemTemplateElement.booleanRedundentExprEliminator.visitInstruction(ElemTemplateElement elem) Visit an XSLT instruction.booleanXSLTVisitor.visitInstruction(ElemTemplateElement elem) Visit an XSLT instruction.booleanXSLTVisitor.visitStylesheet(ElemTemplateElement elem) Visit an XSLT stylesheet instruction.booleanRedundentExprEliminator.visitTopLevelInstruction(ElemTemplateElement elem) Visit an XSLT top-level instruction.booleanXSLTVisitor.visitTopLevelInstruction(ElemTemplateElement elem) Visit an XSLT top-level instruction.booleanXSLTVisitor.visitTopLevelVariableOrParamDecl(ElemTemplateElement elem) Visit an XSLT top-level instruction.Constructors in org.apache.xalan.templates with parameters of type ElemTemplateElementModifierConstructorDescriptionAVT(StylesheetHandler handler, String uri, String name, String rawName, String stringedValue, ElemTemplateElement owner) Construct an AVT by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple. -
Uses of ElemTemplateElement in org.apache.xalan.trace
Fields in org.apache.xalan.trace declared as ElemTemplateElementModifier and TypeFieldDescriptionfinal ElemTemplateElementSelectionEvent.m_styleNodeThe node in the style tree where the event occurs.final ElemTemplateElementTracerEvent.m_styleNodeThe node in the style tree where the event occurs.Methods in org.apache.xalan.trace with parameters of type ElemTemplateElementModifier and TypeMethodDescriptionvoidTraceManager.fireSelectedEndEvent(int sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Fire a selection event.voidTraceManager.fireSelectedEvent(int sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Fire a selection event.voidTraceManager.fireTraceEndEvent(ElemTemplateElement styleNode) Fire a end trace event, after all children of an element have been executed.voidTraceManager.fireTraceEvent(ElemTemplateElement styleNode) Fire a trace event.Constructors in org.apache.xalan.trace with parameters of type ElemTemplateElementModifierConstructorDescriptionEndSelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Create an EndSelectionEvent.SelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Create an event originating at the given node of the style tree.TracerEvent(TransformerImpl processor, Node sourceNode, QName mode, ElemTemplateElement styleNode) Create an event originating at the given node of the style tree. -
Uses of ElemTemplateElement in org.apache.xalan.transformer
Methods in org.apache.xalan.transformer that return ElemTemplateElementModifier and TypeMethodDescriptionTransformerImpl.getCurrentElement()Retrieves the current ElemTemplateElement that is being executed.TransformState.getCurrentElement()Retrieves the stylesheet element that produced the SAX event.XalanTransformState.getCurrentElement()Methods in org.apache.xalan.transformer with parameters of type ElemTemplateElementModifier and TypeMethodDescriptionbooleanTransformerImpl.applyTemplateToNode(ElemTemplateElement xslInstruction, ElemTemplate template, int child) Given an element and mode, find the corresponding template and process the contents.voidTransformerImpl.executeChildTemplates(ElemTemplateElement elem, boolean shouldAddAttrs) Execute each of the children of a template element.voidTransformerImpl.executeChildTemplates(ElemTemplateElement elem, Node context, QName mode, ContentHandler handler) Execute each of the children of a template element.voidTransformerImpl.executeChildTemplates(ElemTemplateElement elem, ContentHandler handler) Execute each of the children of a template element.voidTransformerImpl.pushElemTemplateElement(ElemTemplateElement elem) Push the current template element.voidTransformerImpl.pushPairCurrentMatched(ElemTemplateElement template, int child) Push both the current xsl:template or xsl:for-each onto the stack, along with the child node that was matched.voidTransformerImpl.setCurrentElement(ElemTemplateElement e) Set the top of the current template elements stack.intTransformerImpl.transformToGlobalRTF(ElemTemplateElement templateParent) Given a stylesheet element, create a result tree fragment from it's contents.intTransformerImpl.transformToRTF(ElemTemplateElement templateParent) Given a stylesheet element, create a result tree fragment from it's contents.TransformerImpl.transformToString(ElemTemplateElement elem) Take the contents of a template element, process it, and convert it to a string.