|
||||||||||
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). |
org.apache.xalan.templates | Implements the Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
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. |
Uses of ElemTemplateElement in org.apache.xalan.extensions |
---|
Methods in org.apache.xalan.extensions with parameters of type ElemTemplateElement | |
---|---|
private boolean |
ExtensionHandlerExsltFunction.ancestorIsFunction(ElemTemplateElement child)
Determine whether the func:result element is within a func:function element. |
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 | |
---|---|
(package private) class |
ProcessorAttributeSet
This class processes parse events for an xsl:attribute-set. |
class |
ProcessorCharacters
This class processes character events for a XSLT template element. |
(package private) class |
ProcessorDecimalFormat
Process xsl:decimal-format by creating a DecimalFormatProperties object and passing it to the stylesheet. |
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. |
(package private) class |
ProcessorGlobalParamDecl
This class processes parse events for an xsl:param element. |
(package private) class |
ProcessorGlobalVariableDecl
This class processes parse events for an xsl:variable element. |
class |
ProcessorImport
This class processes parse events for an xsl:import element. |
class |
ProcessorInclude
TransformerFactory class for xsl:include markup. |
(package private) class |
ProcessorKey
TransformerFactory for xsl:key markup. |
class |
ProcessorLRE
Processes an XSLT literal-result-element, or something that looks like one. |
(package private) class |
ProcessorNamespaceAlias
TransformerFactory for xsl:namespace-alias markup. |
(package private) class |
ProcessorOutputElem
TransformerFactory for xsl:output markup. |
(package private) class |
ProcessorPreserveSpace
TransformerFactory for xsl:preserve-space markup. |
(package private) class |
ProcessorStripSpace
TransformerFactory for xsl:strip-space markup. |
class |
ProcessorStylesheetDoc
This class processes the xsl:stylesheet element. |
class |
ProcessorStylesheetElement
TransformerFactory for xsl:stylesheet or xsl:transform markup. |
(package private) class |
ProcessorTemplate
TransformerFactory for xsl:template 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 that return ElemTemplateElement | |
---|---|
(package private) ElemTemplateElement |
StylesheetHandler.getElemTemplateElement()
Get the current ElemTemplateElement at the top of the stack. |
(package private) ElemTemplateElement |
StylesheetHandler.popElemTemplateElement()
Get the current XSLTElementProcessor from the top of the stack. |
Methods in org.apache.xalan.processor with parameters of type ElemTemplateElement | |
---|---|
(package private) boolean |
ProcessorExsltFunction.ancestorIsOk(ElemTemplateElement child)
Verify that a literal result belongs to a result element, a variable, or a parameter. |
protected void |
ProcessorText.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Append the current template element to the current template element, and then push it onto the current template element stack. |
protected void |
ProcessorTemplateElem.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Append the current template element to the current template element, and then push it onto the current template element stack. |
protected void |
ProcessorTemplate.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Append the current template element to the current template element, and then push it onto the current template element stack. |
protected void |
ProcessorGlobalVariableDecl.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Append the current template element to the current template element, and then push it onto the current template element stack. |
protected void |
ProcessorGlobalParamDecl.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Append the current template element to the current template element, and then push it onto the current template element stack. |
protected void |
ProcessorExsltFunction.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Must include; super doesn't suffice! |
(package private) XPath |
StylesheetHandler.createMatchPatternXPath(java.lang.String str,
ElemTemplateElement owningTemplate)
Process an expression string into an XPath. |
XPath |
StylesheetHandler.createXPath(java.lang.String str,
ElemTemplateElement owningTemplate)
Process an expression string into an XPath. |
(package private) java.lang.Object |
XSLTAttributeDef.processAVT_QNAME(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_QNAME into a QName value. |
(package private) AVT |
XSLTAttributeDef.processAVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_AVT into a AVT value. |
(package private) java.lang.Object |
XSLTAttributeDef.processCDATA(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_CDATA into a String value. |
(package private) java.lang.Object |
XSLTAttributeDef.processCHAR(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_CHAR into a Character value. |
(package private) java.lang.Object |
XSLTAttributeDef.processENUM_OR_PQNAME(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of that is either an enumerated value or a qname-but-not-ncname. |
(package private) java.lang.Object |
XSLTAttributeDef.processENUM(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_ENUM into a int value. |
(package private) java.lang.Object |
XSLTAttributeDef.processEXPR(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_EXPR into an XPath value. |
(package private) java.lang.Object |
XSLTAttributeDef.processNCNAME(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type NCName into a String |
(package private) java.lang.Object |
XSLTAttributeDef.processNMTOKEN(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_NMTOKEN into a String value. |
(package private) java.lang.Object |
XSLTAttributeDef.processNUMBER(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_NUMBER into a double value. |
(package private) java.lang.Object |
XSLTAttributeDef.processPATTERN(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_PATTERN into an XPath match pattern value. |
(package private) java.lang.Object |
XSLTAttributeDef.processQNAME(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_QNAME into a QName value. |
(package private) java.util.Vector |
XSLTAttributeDef.processSIMPLEPATTERNLIST(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_SIMPLEPATTERNLIST into a vector of XPath match patterns. |
(package private) java.lang.Object |
XSLTAttributeDef.processURL(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute string of type T_URL into a URL value. |
(package private) java.lang.Object |
XSLTAttributeDef.processValue(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String value,
ElemTemplateElement owner)
Process an attribute value. |
(package private) void |
StylesheetHandler.pushElemTemplateElement(ElemTemplateElement elem)
Push the current XSLTElementProcessor to the top of the stack. |
(package private) boolean |
XSLTAttributeDef.setAttrValue(StylesheetHandler handler,
java.lang.String attrUri,
java.lang.String attrLocalName,
java.lang.String attrRawName,
java.lang.String attrValue,
ElemTemplateElement elem)
Set a value on an attribute. |
(package private) void |
XSLTAttributeDef.setDefAttrValue(StylesheetHandler handler,
ElemTemplateElement elem)
Set the default value of an attribute. |
(package private) void |
XSLTElementProcessor.setPropertiesFromAttributes(StylesheetHandler handler,
java.lang.String rawName,
org.xml.sax.Attributes attributes,
ElemTemplateElement target)
Set the properties of an object from the given attribute list. |
(package private) void |
ProcessorKey.setPropertiesFromAttributes(StylesheetHandler handler,
java.lang.String rawName,
org.xml.sax.Attributes attributes,
ElemTemplateElement target)
Set the properties of an object from the given attribute list. |
(package private) org.xml.sax.Attributes |
XSLTElementProcessor.setPropertiesFromAttributes(StylesheetHandler handler,
java.lang.String rawName,
org.xml.sax.Attributes attributes,
ElemTemplateElement target,
boolean throwError)
Set the properties of an object from the given attribute list. |
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. |
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. |
Fields in org.apache.xalan.templates declared as ElemTemplateElement | |
---|---|
(package private) ElemTemplateElement |
ElemTemplateElement.m_firstChild
First child. |
(package private) ElemTemplateElement |
ElemTemplateElement.m_nextSibling
Next sibling. |
protected ElemTemplateElement |
ElemTemplateElement.m_parentNode
Parent node. |
Methods in org.apache.xalan.templates that return ElemTemplateElement | |
---|---|
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 |
ElemAttributeSet.appendChildElem(ElemTemplateElement newChild)
Add a child to the child list. |
protected ElemTemplateElement |
RedundentExprEliminator.findCommonAncestor(RedundentExprEliminator.MultistepExprHolder head)
Given a linked list of expressions, find the common ancestor that is suitable for holding a psuedo variable for shared access. |
protected ElemTemplateElement |
RedundentExprEliminator.getElemFromExpression(Expression expr)
From an XPath expression component, get the ElemTemplateElement owner. |
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. |
protected ElemTemplateElement |
RedundentExprEliminator.getPrevElementWithinContext(ElemTemplateElement elem)
Get the previous sibling or parent of the given template, stopping at xsl:for-each, xsl:template, or xsl:stylesheet. |
ElemTemplateElement |
ElemTemplateElement.getPreviousSiblingElem()
Get the previous sibling (as a Node) or return null. |
protected ElemTemplateElement |
ElemForEach.getTemplateMatch()
Get template element associated with this |
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 | |
---|---|
protected ElemVariable |
RedundentExprEliminator.addVarDeclToElem(ElemTemplateElement psuedoVarRecipient,
LocPathIterator lpi,
ElemVariable psuedoVar)
Add the given variable to the psuedoVarRecipient. |
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 |
ElemAttributeSet.appendChildElem(ElemTemplateElement newChild)
Add a child to the child list. |
protected void |
RedundentExprEliminator.changeToVarRef(QName varName,
ExpressionOwner owner,
java.util.Vector paths,
ElemTemplateElement psuedoVarRecipient)
Change the expression owned by the owner argument to a variable reference of the given name. |
(package private) void |
StylesheetRoot.composeTemplates(ElemTemplateElement templ)
Call the compose function for each ElemTemplateElement. |
protected int |
RedundentExprEliminator.countAncestors(ElemTemplateElement elem)
Count the number of ancestors that a ElemTemplateElement has. |
protected ElemVariable |
RedundentExprEliminator.createLocalPseudoVarDecl(QName uniquePseudoVarName,
ElemTemplateElement psuedoVarRecipient,
LocPathIterator lpi)
Create a psuedo variable reference that will represent the shared redundent XPath, for a local reduction. |
protected ElemVariable |
RedundentExprEliminator.createPseudoVarDecl(ElemTemplateElement psuedoVarRecipient,
LocPathIterator lpi,
boolean isGlobal)
Create a psuedo variable reference that will represent the shared redundent XPath, and add it to the stylesheet. |
protected void |
RedundentExprEliminator.eleminateRedundent(ElemTemplateElement psuedoVarRecipient,
java.util.Vector paths)
Method to be called after the all expressions within an node context have been visited. |
void |
RedundentExprEliminator.eleminateRedundentLocals(ElemTemplateElement psuedoVarRecipient)
Method to be called after the all expressions within an node context have been visited. |
protected void |
RedundentExprEliminator.eleminateSharedPartialPaths(ElemTemplateElement psuedoVarRecipient,
java.util.Vector paths)
Eliminate the shared partial paths in the expression list. |
protected int |
RedundentExprEliminator.findAndEliminateRedundant(int start,
int firstOccuranceIndex,
ExpressionOwner firstOccuranceOwner,
ElemTemplateElement psuedoVarRecipient,
java.util.Vector paths)
Look through the vector from start point, looking for redundant occurances. |
protected ElemTemplateElement |
RedundentExprEliminator.getPrevElementWithinContext(ElemTemplateElement elem)
Get the previous sibling or parent of the given template, stopping at xsl:for-each, xsl:template, or xsl:stylesheet. |
protected ElemVariable |
RedundentExprEliminator.getPrevVariableElem(ElemTemplateElement elem)
Find the previous occurance of a xsl:variable. |
protected boolean |
RedundentExprEliminator.isNotSameAsOwner(RedundentExprEliminator.MultistepExprHolder head,
ElemTemplateElement ete)
Find out if the given ElemTemplateElement is not the same as one of the ElemTemplateElement owners of the expressions. |
protected RedundentExprEliminator.MultistepExprHolder |
RedundentExprEliminator.matchAndEliminatePartialPaths(RedundentExprEliminator.MultistepExprHolder testee,
RedundentExprEliminator.MultistepExprHolder head,
boolean isGlobal,
int lengthToTest,
ElemTemplateElement varScope)
For a given path, see if there are any partitial matches in the list, and, if there are, replace those partial paths with psuedo variable refs, and create the psuedo variable decl. |
protected int |
RedundentExprEliminator.oldFindAndEliminateRedundant(int start,
int firstOccuranceIndex,
ExpressionOwner firstOccuranceOwner,
ElemTemplateElement psuedoVarRecipient,
java.util.Vector paths)
To be removed. |
ElemTemplateElement |
ElemTemplateElement.removeChild(ElemTemplateElement childETE)
Remove a child. |
ElemTemplateElement |
ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem,
ElemTemplateElement oldChildElem)
Replace the old child with a new child. |
(package private) static XPath |
ElemVariable.rewriteChildToExpression(ElemTemplateElement varElem)
If the children of a variable is a single xsl:value-of or text literal, it is cheaper to evaluate this as an expression, so try and adapt the child an an expression. |
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 |
---|
Fields in org.apache.xalan.transformer declared as ElemTemplateElement | |
---|---|
(package private) ElemTemplateElement |
XalanTransformState.m_currentElement
|
Methods in org.apache.xalan.transformer that return ElemTemplateElement | |
---|---|
ElemTemplateElement |
XalanTransformState.getCurrentElement()
|
ElemTemplateElement |
TransformState.getCurrentElement()
Retrieves the stylesheet element that produced the SAX event. |
ElemTemplateElement |
TransformerImpl.getCurrentElement()
Retrieves the current ElemTemplateElement that is being executed. |
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. |
private int |
TransformerImpl.transformToRTF(ElemTemplateElement templateParent,
DTM dtmFrag)
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 |