|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.UnImplNode | +--weblogic.apache.xalan.templates.ElemTemplateElement | +--weblogic.apache.xalan.templates.ElemForEach | +--weblogic.apache.xalan.templates.ElemCallTemplate | +--weblogic.apache.xalan.templates.ElemApplyTemplates
Implement xsl:apply-templates.
&!ELEMENT xsl:apply-templates (xsl:sort|xsl:with-param)*> &!ATTLIST xsl:apply-templates select %expr; "node()" mode %qname; #IMPLIED &
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Fields inherited from class weblogic.apache.xalan.templates.ElemCallTemplate |
m_paramElems,
m_templateName |
Fields inherited from class weblogic.apache.xalan.templates.ElemForEach |
m_doc_cache_off,
m_selectExpression,
m_sortElems |
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_hasVariableDecl,
m_parentNode |
Constructor Summary | |
ElemApplyTemplates()
|
Method Summary | |
void |
compose(StylesheetRoot sroot)
This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition. |
void |
execute(TransformerImpl transformer)
Apply the context node to the matching templates. |
QName |
getMode()
Get the mode attribute for this element. |
java.lang.String |
getNodeName()
Return the node name. |
int |
getXSLToken()
Get an int constant identifying the type of element. |
void |
setIsDefaultTemplate(boolean b)
Set if this belongs to a default template, in which case it will act different with regard to processing modes. |
void |
setMode(QName mode)
Set the mode attribute for this element. |
void |
transformSelectedNodes(TransformerImpl transformer)
Perform a query if needed, and call transformNode for each child. |
Methods inherited from class weblogic.apache.xalan.templates.ElemCallTemplate |
appendChild,
endCompose,
getName,
getParamElem,
getParamElemCount,
setName,
setParamElem |
Methods inherited from class weblogic.apache.xalan.templates.ElemForEach |
getSelect,
getSortElem,
getSortElemCount,
getTemplateMatch,
setSelect,
setSortElem,
sortNodes |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ElemApplyTemplates()
Method Detail |
public void setMode(QName mode)
mode
- reference, which may be null, to the current mode.public QName getMode()
public void setIsDefaultTemplate(boolean b)
b
- boolean value to set.public int getXSLToken()
Constants
public void compose(StylesheetRoot sroot) throws javax.xml.transform.TransformerException
public java.lang.String getNodeName()
public void execute(TransformerImpl transformer) throws javax.xml.transform.TransformerException
transformer
- non-null reference to the the current transform-time state.sourceNode
- non-null reference to the current source node.mode
- reference, which may be null, to the current mode.public void transformSelectedNodes(TransformerImpl transformer) throws javax.xml.transform.TransformerException
transformer
- non-null reference to the the current transform-time state.template
- The owning template context.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |