|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode | +--org.apache.xalan.templates.ElemTemplateElement | +--org.apache.xalan.templates.ElemForEach | +--org.apache.xalan.templates.ElemCallTemplate
**For advanced use only** Implement xsl:call-template.
&!ELEMENT xsl:call-template (xsl:with-param)*> &!ATTLIST xsl:call-template name %qname; #REQUIRED &
Field Summary | |
QName |
m_templateName
An xsl:call-template element invokes a template by name; it has a required name attribute that identifies the template to be invoked. |
Fields inherited from class org.apache.xalan.templates.ElemForEach |
m_doc_cache_off |
Constructor Summary | |
ElemCallTemplate()
|
Method Summary | |
ElemTemplateElement |
appendChild(ElemTemplateElement newChild)
Add a child to the child list. |
void |
callChildVisitors(XSLTVisitor visitor,
boolean callAttrs)
Call the children visitors. |
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 |
endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
execute(TransformerImpl transformer)
Invoke a named template. |
QName |
getName()
Get the "name" attribute. |
java.lang.String |
getNodeName()
Return the node name. |
ElemWithParam |
getParamElem(int i)
Get a xsl:param element associated with this element. |
int |
getParamElemCount()
Get the count xsl:param elements associated with this element. |
int |
getXSLToken()
Get an int constant identifying the type of element. |
void |
setName(QName name)
Set the "name" attribute. |
void |
setParamElem(ElemWithParam ParamElem)
Set a xsl:param element associated with this element. |
Methods inherited from class org.apache.xalan.templates.ElemForEach |
getExpression,
getSelect,
getSortElem,
getSortElemCount,
setExpression,
setSelect,
setSortElem,
sortNodes,
transformSelectedNodes |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public QName m_templateName
Constructor Detail |
public ElemCallTemplate()
Method Detail |
public void setName(QName name)
name
- Name attribute to setpublic QName getName()
public int getXSLToken()
Constants
public java.lang.String getNodeName()
public void compose(StylesheetRoot sroot) throws TransformerException
public void endCompose(StylesheetRoot sroot) throws TransformerException
public void execute(TransformerImpl transformer) throws 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 int getParamElemCount()
public ElemWithParam getParamElem(int i)
i
- Index of element to findpublic void setParamElem(ElemWithParam ParamElem)
ParamElem
- xsl:param element to set.public ElemTemplateElement appendChild(ElemTemplateElement newChild)
newChild
- Child to add to this node's children listpublic void callChildVisitors(XSLTVisitor visitor, boolean callAttrs)
visitor
- The visitor whose appropriate method will be called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |