|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ElemTemplate | |
---|---|
org.apache.xalan.processor | Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).
StylesheetProcessor implements the TRaX TransformerFactory interface,
as well as the SAXTransformerFactory interface. |
org.apache.xalan.templates | Implements the Templates interface,
and defines a set of classes that represent an XSLT stylesheet.
StylesheetRoot implements the Templates interface, and
extends StylesheetComposed ,
which is a Stylesheet composed of itself
and its included Stylesheet objects. |
org.apache.xalan.transformer | In charge of run-time transformations and the production of result trees.
TransformerImpl implements the
Transformer interface, and is the core representation
of the transformation execution.
For each node in the XML source, TransformerImpl uses the StylesheetRoot and underlying XSLT schema to determine which
template to apply: one of the templates in the StylesheetRoot, a default template rule as specified in the XSLT spec, or
none.
The Transformer works with SerializationHandler to
forward the SAX-like events produced by the
transformation to the appropriate output ContentHandler.
To the degree possible, the parsing of the XML source and application of the Templates object to that source are performed
concurrently in separate threads. |
Uses of ElemTemplate in org.apache.xalan.processor |
---|
Subclasses of ElemTemplate in org.apache.xalan.processor | |
---|---|
class |
WhitespaceInfoPaths
|
Uses of ElemTemplate in org.apache.xalan.templates |
---|
Subclasses of ElemTemplate in org.apache.xalan.templates | |
---|---|
class |
ElemExsltFunction
Implement func:function. |
class |
WhiteSpaceInfo
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 ElemTemplate | |
---|---|
ElemTemplate |
StylesheetRoot.getDefaultRootRule()
Get the default template for a root node. |
ElemTemplate |
StylesheetRoot.getDefaultRule()
Get the default template for elements. |
ElemTemplate |
StylesheetRoot.getDefaultTextRule()
Get the default template for text. |
ElemTemplate |
ElemTemplateElement.getOwnerXSLTemplate()
Get the owning xsl:template element. |
ElemTemplate |
StylesheetRoot.getStartRule()
Get the default template for a root node. |
ElemTemplate |
StylesheetRoot.getTemplateComposed(QName qname)
Get an "xsl:template" property. |
ElemTemplate |
StylesheetRoot.getTemplateComposed(XPathContext xctxt,
int targetNode,
QName mode,
boolean quietConflictWarnings,
DTM dtm)
Get an "xsl:template" property by node match. |
ElemTemplate |
StylesheetRoot.getTemplateComposed(XPathContext xctxt,
int targetNode,
QName mode,
int maxImportLevel,
int endImportLevel,
boolean quietConflictWarnings,
DTM dtm)
Get an "xsl:template" property by node match. |
ElemTemplate |
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. |
ElemTemplate |
Stylesheet.getTemplate(int i)
Get an "xsl:template" property. |
ElemTemplate |
TemplateList.getTemplate(QName qname)
Locate a named template. |
ElemTemplate |
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. |
ElemTemplate |
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. |
ElemTemplate |
TemplateList.TemplateWalker.next()
|
Methods in org.apache.xalan.templates with parameters of type ElemTemplate | |
---|---|
void |
Stylesheet.replaceTemplate(ElemTemplate v,
int i)
Replace 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. |
void |
Stylesheet.setTemplate(ElemTemplate v)
Set an "xsl:template" property. |
Uses of ElemTemplate in org.apache.xalan.transformer |
---|
Methods in org.apache.xalan.transformer that return ElemTemplate | |
---|---|
ElemTemplate |
XalanTransformState.getCurrentTemplate()
|
ElemTemplate |
TransformerImpl.getCurrentTemplate()
This method retrieves the xsl:template that is in effect, which may be a matched template or a named template. |
ElemTemplate |
TransformState.getCurrentTemplate()
This method retrieves the xsl:template that is in effect, which may be a matched template or a named template. |
ElemTemplate |
XalanTransformState.getMatchedTemplate()
|
ElemTemplate |
TransformerImpl.getMatchedTemplate()
This method retrieves the xsl:template that was matched. |
ElemTemplate |
TransformState.getMatchedTemplate()
This method retrieves the xsl:template that was matched. |
Methods in org.apache.xalan.transformer with parameters of type ElemTemplate | |
---|---|
boolean |
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 |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |