Uses of Class
org.apache.xalan.templates.ElemTemplate
Packages that use ElemTemplate
Package
Description
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.In charge of run-time transformations and the production of result trees.
-
Uses of ElemTemplate in org.apache.xalan.processor
Subclasses of ElemTemplate in org.apache.xalan.processor -
Uses of ElemTemplate in org.apache.xalan.templates
Subclasses of ElemTemplate in org.apache.xalan.templatesModifier and TypeClassDescriptionclass
Implement func:function.class
This 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 ElemTemplateModifier and TypeMethodDescriptionfinal ElemTemplate
StylesheetRoot.getDefaultRootRule()
Get the default template for a root node.final ElemTemplate
StylesheetRoot.getDefaultRule()
Get the default template for elements.final ElemTemplate
StylesheetRoot.getDefaultTextRule()
Get the default template for text.ElemTemplateElement.getOwnerXSLTemplate()
Get the owning xsl:template element.final ElemTemplate
StylesheetRoot.getStartRule()
Get the default template for a root node.Stylesheet.getTemplate
(int i) Get an "xsl:template" property.TemplateList.getTemplate
(QName qname) Locate a named template.TemplateList.getTemplate
(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm) Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.TemplateList.getTemplate
(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm) Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.StylesheetRoot.getTemplateComposed
(QName qname) Get an "xsl:template" property.StylesheetRoot.getTemplateComposed
(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm) Get an "xsl:template" property by node match.StylesheetRoot.getTemplateComposed
(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm) Get an "xsl:template" property by node match.TemplateList.getTemplateFast
(XPathContext xctxt, int targetNode, int expTypeID, QName mode, int maxImportLevel, boolean quietConflictWarnings, DTM dtm) Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.TemplateList.TemplateWalker.next()
Methods in org.apache.xalan.templates with parameters of type ElemTemplateModifier and TypeMethodDescriptionvoid
Stylesheet.replaceTemplate
(ElemTemplate v, int i) Replace an "xsl:template" property.void
Stylesheet.setTemplate
(ElemTemplate v) Set an "xsl:template" property.void
TemplateList.setTemplate
(ElemTemplate template) Add a template to the table of named templates and/or the table of templates with match patterns. -
Uses of ElemTemplate in org.apache.xalan.transformer
Methods in org.apache.xalan.transformer that return ElemTemplateModifier and TypeMethodDescriptionTransformerImpl.getCurrentTemplate()
This method retrieves the xsl:template that is in effect, which may be a matched template or a named template.TransformState.getCurrentTemplate()
This method retrieves the xsl:template that is in effect, which may be a matched template or a named template.XalanTransformState.getCurrentTemplate()
TransformerImpl.getMatchedTemplate()
This method retrieves the xsl:template that was matched.TransformState.getMatchedTemplate()
This method retrieves the xsl:template that was matched.XalanTransformState.getMatchedTemplate()
Methods in org.apache.xalan.transformer with parameters of type ElemTemplateModifier and TypeMethodDescriptionboolean
TransformerImpl.applyTemplateToNode
(ElemTemplateElement xslInstruction, ElemTemplate template, int child) Given an element and mode, find the corresponding template and process the contents.int
StackGuard.countLikeTemplates
(ElemTemplate templ, int pos) Overide equal method for StackGuard objects