|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ElemTemplateElement | |
---|---|
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism. |
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.trace | Implementation of Xalan Trace events, for use by a debugger. |
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 ElemTemplateElement in org.apache.xalan.extensions |
---|
Methods in org.apache.xalan.extensions with parameters of type ElemTemplateElement | |
---|---|
void |
ExtensionHandlerJavaPackage.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerJavaClass.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerGeneral.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerExsltFunction.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Required by ExtensionHandler (an abstract method). |
abstract void |
ExtensionHandler.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.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.processor | |
---|---|
class |
ProcessorCharacters
This class processes character events for a XSLT template element. |
class |
ProcessorExsltFuncResult
This class processes parse events for an exslt func:result element. |
class |
ProcessorExsltFunction
This class processes parse events for an exslt func:function element. |
class |
ProcessorImport
This class processes parse events for an xsl:import element. |
class |
ProcessorInclude
TransformerFactory class for xsl:include markup. |
class |
ProcessorLRE
Processes an XSLT literal-result-element, or something that looks like one. |
class |
ProcessorStylesheetDoc
This class processes the xsl:stylesheet element. |
class |
ProcessorStylesheetElement
TransformerFactory for xsl:stylesheet or xsl:transform markup. |
class |
ProcessorTemplateElem
This class processes parse events for an XSLT template element. |
class |
ProcessorText
Process xsl:text. |
class |
ProcessorUnknown
This class processes an unknown template element. |
class |
WhitespaceInfoPaths
|
class |
XSLTElementProcessor
This 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 ElemTemplateElement | |
---|---|
XPath |
StylesheetHandler.createXPath(java.lang.String str,
ElemTemplateElement owningTemplate)
Process an expression string into an XPath. |
void |
ProcessorExsltFunction.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.templates | |
---|---|
class |
DecimalFormatProperties
Implement xsl:decimal-format. |
class |
ElemApplyImport
Implement xsl:apply-imports. |
class |
ElemApplyTemplates
Implement xsl:apply-templates. |
class |
ElemAttribute
Implement xsl:attribute. |
class |
ElemAttributeSet
Implement xsl:attribute-set. |
class |
ElemCallTemplate
Implement xsl:call-template. |
class |
ElemChoose
Implement xsl:choose. |
class |
ElemComment
Implement xsl:comment. |
class |
ElemCopy
Implement xsl:copy. |
class |
ElemCopyOf
Implement xsl:copy-of. |
class |
ElemElement
Implement xsl:element |
class |
ElemEmpty
Simple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly. |
class |
ElemExsltFuncResult
Handles the EXSLT result element within an EXSLT function element. |
class |
ElemExsltFunction
Implement func:function. |
class |
ElemExtensionCall
Implement an extension element. |
class |
ElemExtensionDecl
Implement the declaration of an extension element |
class |
ElemExtensionScript
Implement Script extension element |
class |
ElemFallback
Implement xsl:fallback. |
class |
ElemForEach
Implement xsl:for-each. |
class |
ElemIf
Implement xsl:if. |
class |
ElemLiteralResult
Implement a Literal Result Element. |
class |
ElemMessage
Implement xsl:message. |
class |
ElemNumber
Implement xsl:number. |
class |
ElemOtherwise
Implement xsl:otherwise. |
class |
ElemParam
Implement xsl:param. |
class |
ElemPI
Implement xsl:processing-instruction. |
class |
ElemSort
Implement xsl:sort. |
class |
ElemTemplate
Implement xsl:template. |
class |
ElemText
Implement xsl:template. |
class |
ElemTextLiteral
Implement a text literal. |
class |
ElemUnknown
Implement an unknown element |
class |
ElemUse
Implement xsl:use. |
class |
ElemValueOf
Implement xsl:value-of. |
class |
ElemVariable
Implement xsl:variable. |
class |
ElemVariablePsuedo
|
class |
ElemWhen
Implement xsl:when. |
class |
ElemWithParam
Implement xsl:with-param. xsl:with-param is allowed within both xsl:call-template and xsl:apply-templates. |
class |
KeyDeclaration
Holds the attribute declarations for the xsl:keys element. |
class |
NamespaceAlias
Object to hold an xsl:namespace element. |
class |
OutputProperties
This class provides information from xsl:output elements. |
class |
Stylesheet
Represents a stylesheet element. |
class |
StylesheetComposed
Represents a stylesheet that has methods that resolve includes and imports. |
class |
StylesheetRoot
This class represents the root object of the stylesheet tree. |
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 ElemTemplateElement | |
---|---|
ElemTemplateElement |
ElemAttributeSet.appendChildElem(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemWithParam.appendChild(ElemTemplateElement elem)
Add a child to the child list. |
ElemTemplateElement |
ElemVariable.appendChild(ElemTemplateElement elem)
Add a child to the child list. |
ElemTemplateElement |
ElemValueOf.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemText.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemTemplateElement.appendChild(ElemTemplateElement elem)
Add a child to the child list. |
ElemTemplateElement |
ElemPI.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemNumber.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemForEach.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemCopyOf.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemComment.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemChoose.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemCallTemplate.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemAttribute.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemApplyImport.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemTemplateElement.getFirstChildElem()
Get the first child as a ElemTemplateElement. |
ElemTemplateElement |
ElemTemplateElement.getLastChildElem()
Get the last child. |
ElemTemplateElement |
ElemTemplateElement.getNextSiblingElem()
Get the next sibling (as a ElemTemplateElement) or return null. |
ElemTemplateElement |
ElemTemplateElement.getParentElem()
Get the parent as an ElemTemplateElement. |
ElemTemplateElement |
ElemTemplateElement.getParentNodeElem()
Get the parent element. |
ElemTemplateElement |
ElemTemplateElement.getPreviousSiblingElem()
Get the previous sibling (as a Node) or return null. |
ElemTemplateElement |
ElemTemplateElement.removeChild(ElemTemplateElement childETE)
Remove a child. |
ElemTemplateElement |
ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem,
ElemTemplateElement oldChildElem)
Replace the old child with a new child. |
Methods in org.apache.xalan.templates with parameters of type ElemTemplateElement | |
---|---|
ElemTemplateElement |
ElemAttributeSet.appendChildElem(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemWithParam.appendChild(ElemTemplateElement elem)
Add a child to the child list. |
ElemTemplateElement |
ElemVariable.appendChild(ElemTemplateElement elem)
Add a child to the child list. |
ElemTemplateElement |
ElemValueOf.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemText.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemTemplateElement.appendChild(ElemTemplateElement elem)
Add a child to the child list. |
ElemTemplateElement |
ElemPI.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemNumber.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemForEach.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemCopyOf.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemComment.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemChoose.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemCallTemplate.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemAttribute.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
ElemTemplateElement |
ElemApplyImport.appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
void |
RedundentExprEliminator.eleminateRedundentLocals(ElemTemplateElement psuedoVarRecipient)
Method to be called after the all expressions within an node context have been visited. |
ElemTemplateElement |
ElemTemplateElement.removeChild(ElemTemplateElement childETE)
Remove a child. |
ElemTemplateElement |
ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem,
ElemTemplateElement oldChildElem)
Replace the old child with a new child. |
void |
ElemWithParam.setParentElem(ElemTemplateElement p)
Set the parent as an ElemTemplateElement. |
void |
ElemVariable.setParentElem(ElemTemplateElement p)
Set the parent as an ElemTemplateElement. |
void |
ElemTemplateElement.setParentElem(ElemTemplateElement p)
Set the parent as an ElemTemplateElement. |
boolean |
XSLTVisitor.visitInstruction(ElemTemplateElement elem)
Visit an XSLT instruction. |
boolean |
RedundentExprEliminator.visitInstruction(ElemTemplateElement elem)
Visit an XSLT instruction. |
boolean |
XSLTVisitor.visitStylesheet(ElemTemplateElement elem)
Visit an XSLT stylesheet instruction. |
boolean |
XSLTVisitor.visitTopLevelInstruction(ElemTemplateElement elem)
Visit an XSLT top-level instruction. |
boolean |
RedundentExprEliminator.visitTopLevelInstruction(ElemTemplateElement elem)
Visit an XSLT top-level instruction. |
boolean |
XSLTVisitor.visitTopLevelVariableOrParamDecl(ElemTemplateElement elem)
Visit an XSLT top-level instruction. |
Constructors in org.apache.xalan.templates with parameters of type ElemTemplateElement | |
---|---|
AVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.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 ElemTemplateElement | |
---|---|
ElemTemplateElement |
TracerEvent.m_styleNode
The node in the style tree where the event occurs. |
ElemTemplateElement |
SelectionEvent.m_styleNode
The node in the style tree where the event occurs. |
Methods in org.apache.xalan.trace with parameters of type ElemTemplateElement | |
---|---|
void |
TraceManager.fireSelectedEndEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
TraceManager.fireSelectedEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
TraceManager.fireTraceEndEvent(ElemTemplateElement styleNode)
Fire a end trace event, after all children of an element have been executed. |
void |
TraceManager.fireTraceEvent(ElemTemplateElement styleNode)
Fire a trace event. |
Constructors in org.apache.xalan.trace with parameters of type ElemTemplateElement | |
---|---|
EndSelectionEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Create an EndSelectionEvent. |
|
SelectionEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Create an event originating at the given node of the style tree. |
|
TracerEvent(TransformerImpl processor,
org.w3c.dom.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 ElemTemplateElement | |
---|---|
ElemTemplateElement |
XalanTransformState.getCurrentElement()
|
ElemTemplateElement |
TransformerImpl.getCurrentElement()
Retrieves the current ElemTemplateElement that is being executed. |
ElemTemplateElement |
TransformState.getCurrentElement()
Retrieves the stylesheet element that produced the SAX event. |
Methods in org.apache.xalan.transformer with parameters of type ElemTemplateElement | |
---|---|
boolean |
TransformerImpl.applyTemplateToNode(ElemTemplateElement xslInstruction,
ElemTemplate template,
int child)
Given an element and mode, find the corresponding template and process the contents. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
boolean shouldAddAttrs)
Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
org.xml.sax.ContentHandler handler)
Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
org.w3c.dom.Node context,
QName mode,
org.xml.sax.ContentHandler handler)
Execute each of the children of a template element. |
void |
TransformerImpl.pushElemTemplateElement(ElemTemplateElement elem)
Push the current template element. |
void |
TransformerImpl.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. |
void |
TransformerImpl.setCurrentElement(ElemTemplateElement e)
Set the top of the current template elements stack. |
int |
TransformerImpl.transformToGlobalRTF(ElemTemplateElement templateParent)
Given a stylesheet element, create a result tree fragment from it's contents. |
int |
TransformerImpl.transformToRTF(ElemTemplateElement templateParent)
Given a stylesheet element, create a result tree fragment from it's contents. |
java.lang.String |
TransformerImpl.transformToString(ElemTemplateElement elem)
Take the contents of a template element, process it, and convert it to a string. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |